columna API reference - v0.3.0
    Preparing search index...

    Function fittedLine

    • Fitted Line Plot (Minitab): polynomial regression of y on x of degree 1–3, with the fitted curve as a function. transform applies log10 to x and/or y before fitting (Minitab's options).

      Parameters

      • x: Column
      • y: Column
      • Optionaloptions: { confidence?: number; degree?: 2 | 1 | 3; logX?: boolean; logY?: boolean }

      Returns OlsResult & { degree: number; equation: string; curve(x: number): number }