predict_model {radiant.model} | R Documentation |
Predict method for model functions
Description
Predict method for model functions
Usage
predict_model(
object,
pfun,
mclass,
pred_data = NULL,
pred_cmd = "",
conf_lev = 0.95,
se = FALSE,
dec = 3,
envir = parent.frame(),
...
)
Arguments
object |
Return value from |
pfun |
Function to use for prediction |
mclass |
Model class to attach |
pred_data |
Dataset to use for prediction |
pred_cmd |
Command used to generate data for prediction (e.g., 'carat = 1:10') |
conf_lev |
Confidence level used to estimate confidence intervals (.95 is the default) |
se |
Logical that indicates if prediction standard errors should be calculated (default = FALSE) |
dec |
Number of decimals to show |
envir |
Environment to extract data from |
... |
further arguments passed to or from other methods |
Details
See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
[Package radiant.model version 1.6.6 Index]