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

View source: R/utils.R

calc_sd_polyR Documentation

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)

Arguments

y

array.

degree

polynomial degree.

Value

standard deviation of the fit residuals.


spant documentation built on Sept. 11, 2024, 9:13 p.m.