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.

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

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