Loads previously saved SEC calibration parameters for use in
step_sec_conventional_cal(). This enables reusing established calibrations
without refitting.
Value
A sec_calibration object that can be passed to the calibration
argument of step_sec_conventional_cal().
Examples
if (FALSE) { # \dontrun{
# Load a saved calibration
cal <- load_sec_calibration("ps_calibration.rds")
print(cal)
# Use in a recipe (no fitting needed)
rec <- recipe(~., data = new_samples) |>
step_sec_conventional_cal(calibration = cal) |>
prep()
} # }