Description Usage Arguments Details Value Note

View source: R/functions4glmClust.R

Write the new formula given the covariates with a level cluster effect, the number of clusters and the type parametric on time or not.

1 2 |

`covar` |
A 'character' vector of covariates. |

`nClust` |
Number of clusters. |

`parametric` |
If [TRUE] it means we are parametric on time. |

`nomClust` |
The beginning of the name of the indicator covariates 'Ga, Gb, .., etc. |

Given the covariates and the number of clusters, it
returns a character string which will be converted inside
`glmClust`

to a formula to represent the
covariates with different cluster effect.

A character string which will be used as a 'formula'.

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.