predict.Regression: 'predict.Regression'

Description Usage Arguments

View source: R/variables.R

Description

Predicts a model outcome based on newdata and a fitted Regression object. NA is returned for cases with unfitted factor levels.

Usage

1
2
3
## S3 method for class 'Regression'
predict(object, newdata = object$model,
  na.action = na.pass, ...)

Arguments

object

A Regression object.

newdata

Optionally, a data frame including the variables used to fit the model. If omitted, the data supplied to Regression() is used after any filtering.

na.action

Function determining what should be done with missing values in newdata. The default is to predict NA.

...

Additional arguments to pass to predict.LDA.


Displayr/flipRegression documentation built on Sept. 8, 2018, 11:31 p.m.