R/predict-spc.R
predict_from_spc.Rd
Append predictions for a set of responses specified by a list of calibration models and a tibble containing preprocessed spectra as list-columns.
predict_from_spc(model_list, spc_tbl, slice = TRUE)
List of model output generated from calibration step
(pls_ken_stone()
Tibble of spectra after preprocessing
(preprocess_spc()
)
Logical expression wheather only one row per sample_id returned.
tibble with new columns model
, and predicted values with
column names of model list.