Learn R Programming

PredPsych (version 0.5)

predictNewData: Predict Class membership for New Data

Description

A simple function to predict class membership for new data

Usage

predictNewData(model, NewData, ...)

Value

Predictions for each case in the NewData.

Arguments

model

(model) Classifier model obtained from a classification analysis

NewData

(optional) (dataframe) New Data frame features for which the class membership is requested

...

(optional) additional arguments for the function

Author

Atesh Koul, C'MON unit, Istituto Italiano di Tecnologia

atesh.koul@gmail.com

Details

A function to generate predictions on a new dataset based on a previously estimated classifier model. This could be generated from LinearDA, classifyFun or DTMOdel functions.