predict_clust: Creates a character string expression to calculate the...

Description Usage Arguments Details Value Note

Description

Given the covariates and the name of the coefficients corresponding to a given cluster, the function construct a character string, which will be used to calculate the predicted values.

Usage

1
  predict_clust(cov, nomCoef, nom_model)

Arguments

cov

Name of the covariates.

nomCoef

Name of the coefficients.

nom_model

Name of the glm model.

Details

To calculate the predicted values in each cluster, we need the values of the covariates in the data and the right coefficients in the 'glm' object. To do this we construct an expression which will be evaluated inside glmClust.

Value

A character string of the expression of the predicted values of a given cluster.

Note

Meant to be used internally.



Search within the kmlcov package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.