smooth_lss {LSX} | R Documentation |
Smooth predicted LSS scores by local polynomial regression
Description
Smooth predicted LSS scores by local polynomial regression
Usage
smooth_lss(
x,
lss_var = "fit",
date_var = "date",
span = 0.1,
from = NULL,
to = NULL,
engine = c("loess", "locfit"),
...
)
Arguments
x |
a |
lss_var |
the name of the column for LSS scores. |
date_var |
the name of the columns for dates. |
span |
determines the level of smoothing. |
from |
start of the time period. |
to |
end of the time period. |
engine |
specifies the function to smooth LSS scores: |
... |
[Package LSX version 1.4.0 Index]