Description Usage Arguments Details Value Note

View source: R/functions4glmClust.R

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.

1 | ```
predict_clust(cov, nomCoef, nom_model)
``` |

`cov` |
Name of the covariates. |

`nomCoef` |
Name of the coefficients. |

`nom_model` |
Name of the glm model. |

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`

.

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

Meant to be used internally.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.