spline_values {gratia} | R Documentation |
Evaluate a spline at provided covariate values
Description
Evaluate a spline at provided covariate values
Usage
spline_values(
smooth,
data,
model,
unconditional,
overall_uncertainty = TRUE,
frequentist = FALSE
)
Arguments
smooth |
currently an object that inherits from class |
data |
a data frame of values to evaluate |
model |
a fitted model; currently only |
unconditional |
logical; should confidence intervals include the
uncertainty due to smoothness selection? If |
overall_uncertainty |
logical; should the uncertainty in the model constant term be included in the standard error of the evaluate values of the smooth? |
frequentist |
logical; use the frequentist covariance matrix? |
[Package gratia version 0.9.2 Index]