predict_cluster: Predict an optimal clustering

Description Usage Arguments Value

View source: R/predict_cluster.R

Description

Compute and return an optimal clustering that minimize the MSE error given K lmm models.

Usage

1
predict_cluster(data, target, models)

Arguments

data

data frame containing the variables in which the clmm model has been trained.

target

vector containing the target variable.

models

object of class clmm that contains a list of k lmm models.

Value

vector containing the optimal clustering.


Redha-ALLICHE/clusterwiselmm documentation built on Aug. 3, 2020, 1:10 a.m.