View source: R/model_refinement.R
| smooth_coef | R Documentation |
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
)
model |
A fitted model object. |
x_cut |
Deprecated model variable used in the GLM. |
x_org |
Deprecated source variable used to fit the smoothing curve. |
degree |
Deprecated polynomial degree. |
breaks |
Deprecated smoothing break points. |
smoothing |
Deprecated smoothing type. |
k |
Deprecated spline basis dimension. |
weights |
Deprecated weights column. |
A legacy smooth object. New code should use prepare_refinement(),
add_smoothing(), and refit().
add_smoothing(), prepare_refinement(), refit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.