nGuess: nGuess for sgolaySmoothMod number of points per polynomial

View source: R/library--data_prep--smooth_tools--ts_trend_gen.R

nGuessR Documentation

nGuess for sgolaySmoothMod number of points per polynomial

Description

nGuess for sgolaySmoothMod number of points per polynomial

Usage

nGuess(DF, InVar, Base, min)

Arguments

DF

The DF to fit the sgolayfilt curve on. should only be from one TS

InVar

The col name that the variable is about to smooth

Base

The value we are scaling by the of the number of rows in the data

min

The smallest value returned

Value

a number greater or equal to min


Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.