Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.lmclv

prediction for lmCLV models.


Description

To get the predicted response values based on lmCLV model.

Usage

## S3 method for class 'lmclv'
predict(object, newdata, shrinkp, ...)

Arguments

object

: result of class lmclv

newdata

: Data frame of observations for which to make predictions

shrinkp

: shrinkage parameter.

...

: further arguments passed to or from other methods

Value

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).


ClustVarLV

Clustering of Variables Around Latent Variables

v2.0.1
GPL-3
Authors
Evelyne Vigneau [aut, cre], Mingkun Chen [ctb], Veronique Cariou [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.