To get the predicted response values based on lmCLV model.
# S3 method for lmclv
predict(object, newdata, shrinkp, ...)
: result of class lmclv
: Data frame of observations for which to make predictions
: shrinkage parameter.
: further arguments passed to or from other methods
a matrix of the predicted values, each column with an increasing number of CLV component included the first column being for the null model if the response if a binary factor, two additional matrices are provided : the probabilities of belonging to class 1 and the response values (0 or 1).