prepare_newdata_for_predict | R Documentation |
To be used in predict.mfp2()
.
prepare_newdata_for_predict(
object,
newdata,
strata = NULL,
offset = NULL,
apply_pre = TRUE,
apply_center = TRUE,
check_binary = TRUE
)
object |
fitted |
newdata |
dataset to be prepared for predictions. Its columns can be a subset of the columns used for fitting the model. |
strata, offset |
passed from |
apply_pre |
logical indicating wether the fitted pre-transformation is applied or not. |
apply_center |
logical indicating whether the fitted centers are applied after transformation or not. |
check_binary |
passed to |
A dataframe of transformed newdata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.