Evaluate a spline at provided covariate values
spline_values(
smooth,
data,
model,
unconditional,
overall_uncertainty = TRUE,
frequentist = FALSE
)
currently an object that inherits from class mgcv.smooth
.
a data frame of values to evaluate smooth
at.
a fitted model; currently only mgcv::gam()
and mgcv::bam()
models are suported.
logical; should confidence intervals include the
uncertainty due to smoothness selection? If TRUE
, the corrected Bayesian
covariance matrix will be used.
logical; should the uncertainty in the model constant term be included in the standard error of the evaluate values of the smooth?
logical; use the frequentist covariance matrix?