Build an interval options list to pass to intervals = ... in
Lowess, StreamingLowess,
OnlineLowess, or predict.Lowess.
Arguments
- confidence
Coverage for confidence intervals, greater than 0 and less than 1 (e.g. 0.90).
NULL(default) disables them.- prediction
Coverage for prediction intervals, greater than 0 and less than 1 (e.g. 0.99).
NULL(default) disables them. This level is independent ofconfidence.- bootstrap
Number of bootstrap resamples used to compute the intervals.
0(default) uses the analytic intervals.
Examples
model <- Lowess(
intervals = intervals_opts(
confidence = 0.90, prediction = 0.99, bootstrap = 200
),
seed = 42
)