Description Usage Arguments Value
View source: R/predict_response.R
Returns the predicted response of the clusterwise lmm to the data given a clustering
1 | predict_response(data, clusters, models)
|
data |
data frame containing the variables in which the clmm model has been trained. |
clusters |
vector that indicates the clustering. Must contain a number of clusters equal to the number of models. |
models |
object of class clmm that contains a list of k lmm models. |
vector containing the prediction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.