Predict retention times for new data using a FastRet Model (FRM).
Arguments
- object
An object of class
frm
as returned bytrain_frm()
.- df
A data.frame with the same columns as the training data.
- adjust
If
object
was adjusted usingadjust_frm()
, it will contain a propertyobject$adj
. Ifadjust
is TRUE,object$adj
will be used to adjust predictions obtained fromobject$model
. If FALSEobject$adj
will be ignored. If NULL,object$model
will be used, if available.- verbose
A logical value indicating whether to print progress messages.
- ...
Not used. Required to match the generic signature of
predict()
.
Examples
frm <- read_rp_lasso_model_rds()
newdata <- head(RP)
yhat <- predict(frm, newdata)