Learn R Programming

hpa (version 1.0.1)

predict.hpaML: Predict method for hpaML

Description

Predict method for hpaML

Usage

# S3 method for hpaML
predict(object, ..., newdata = matrix(c(0)))

Arguments

object

Object of class "hpaML"

...

further arguments (currently ignored)

newdata

An optional data frame (for hpaBinary and hpaSelection) or numeric matrix (for hpaML) in which to look for variables with which to predict. If omitted, the original dataframe (matrix) used.

Value

This function returns predictions based on hpaML estimation results.