mgcv:gam()
.GAM interpolation using mgcv:gam()
.
gam_interp(
formula = NULL,
y,
time,
pred_times,
se.fit = T,
s_args = NULL,
uncertainty.type,
verbose = F
)
interpolated values
optionally specify formula for mgcv::gam()
using y
as response and time
as predictor.
observations
times for observations
prediction times
logical default is TRUE
; should standard pointwise errors be computed for interpolation
Arguments to mgcv::s()
can be passed using a named list/vector.
State what type of uncertainty plot 1 is default for tails more than 1 is amount of predicted trajectories for each unique individual and blurs for blur plot
logical; TRUE
prints messages about fitting details