View source: R/library--data_prep--smooth_tools--ts_trend_gen.R
loessSmoothMod | R Documentation |
loessSmoothMod Add a column of the smoothed values using Loess
loessSmoothMod(
DF,
InVar = "N1",
OutVar = "Loess",
Span = "guess",
Filter = NULL
)
DF |
DF we are adding the loess smooth col to |
InVar |
The column to be smoothed |
OutVar |
The name of the new column |
Span |
The span fed into loess smoothing. if it equals "guess" then it if found using parameterGuess |
Filter |
Prefilter using the value of a Filter col |
A DF with an extra col with a loesss smoothed version of InVar
data(Example_data, package = "Covid19Wastewater")
head(loessSmoothMod(Example_data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.