powered by
Estimate low frequency trends via loess regression. If the function errors, return zeros (i.e. no trend)
try_trend(x, outlier_rm = TRUE, span = 0.6)
data
T/F, remove outliers to estimate trends?
span for the loess regression
Estimated trend in the data
# NOT RUN { try_trend(c(1,3,6,7,9,11,14,15,17,18)) # }
Run the code above in your browser using DataLab