Adds a smoothing step to a rating_refinement object.
Usage
add_smoothing(
model,
x_cut,
x_org,
degree = NULL,
breaks = NULL,
smoothing = "spline",
k = NULL,
weights = NULL
)
smooth_coef(
model,
x_cut,
x_org,
degree = NULL,
breaks = NULL,
smoothing = "spline",
k = NULL,
weights = NULL
)Details
add_smoothing() is part of the new refinement workflow and is intended
to be used in combination with prepare_refinement() and refit().
The legacy function smooth_coef() remains the only function that should
be applied directly to a model object.
