smooth_coef() is deprecated as of version 0.9.0. Use
add_smoothing() instead.
prepare_refinement(model) |>
add_smoothing(...) |>
refit()
smooth_coef(
model,
x_cut,
x_org,
degree = NULL,
breaks = NULL,
smoothing = "spline",
k = NULL,
weights = NULL
)A legacy smooth object. New code should use prepare_refinement(),
add_smoothing(), and refit().
A fitted model object.
Deprecated model variable used in the GLM.
Deprecated source variable used to fit the smoothing curve.
Deprecated polynomial degree.
Deprecated smoothing break points.
Deprecated smoothing type.
Deprecated spline basis dimension.
Deprecated weights column.
add_smoothing(), prepare_refinement(), refit()