predict.frm | R Documentation |
Predict retention times for new data using a FastRet Model (FRM).
## S3 method for class 'frm'
predict(object = train_frm(), df = object$df, adjust = NULL, verbose = 0, ...)
object |
An object of class |
df |
A data.frame with the same columns as the training data. |
adjust |
If |
verbose |
A logical value indicating whether to print progress messages. |
... |
Not used. Required to match the generic signature of |
A numeric vector with the predicted retention times.
train_frm()
, adjust_frm()
frm <- read_rp_lasso_model_rds()
newdata <- head(RP)
yhat <- predict(frm, newdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.