.preparePredict {pscore} | R Documentation |
Internal function to prepare data for prediction
Description
Internal function to prepare data for prediction
Usage
.preparePredict(object, newdata, groups)
Arguments
object |
An object of S4 class “MahalanobisScores”, “SumScores”, or “FactorScores” containing a model and results to be used to get predictions on new data. |
newdata |
A data frame with identical variable names as was used to build the initial model. |
groups |
A vector with the same length as the data frame in |
Value
An object of S4 class “CompositeReady”
[Package pscore version 0.4.0 Index]