smooth_lss | R Documentation |
Smooth predicted LSS scores by local polynomial regression
smooth_lss(
x,
lss_var = "fit",
date_var = "date",
span = 0.1,
from = NULL,
to = NULL,
engine = c("loess", "locfit"),
...
)
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: |
... |
extra arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.