calc_sd_poly {spant}R 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.


[Package spant version 2.20.0 Index]