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 Oct. 23, 2023, 5:06 p.m.