Learn R Programming

spant (version 3.3.0)

calc_sd_poly: Perform a polynomial fit, subtract and return the standard deviation of the residuals.

Description

Perform a polynomial fit, subtract and return the standard deviation of the residuals.

Usage

calc_sd_poly(y, degree = 1)

Value

standard deviation of the fit residuals.

Arguments

y

array.

degree

polynomial degree.