Learn R Programming

PredPsych (version 0.4)

predictNewData: Predict Class membership for New Data

Description

A simple function to predict class membership for new data

Usage

predictNewData(model, 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

Value

Predictions for each case in the NewData.

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.