Predict method for model functions

Description

Predict method for model functions

Usage

1
2
3
## S3 method for class 'model'
predict(object, pfun, mclass, pred_data = "", pred_cmd = "",
  conf_lev = 0.95, se = FALSE, dec = 3, ...)

Arguments

object

Return value from regress

pfun

Function to use for prediction

mclass

Model class to attach

pred_data

Name of the dataset to use for prediction

pred_cmd

Command used to generate data for prediction

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

...

further arguments passed to or from other methods

Details

See http://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.