Get the name of the coefficients in the 'glm' object according to the current cluster

Share:

Description

This function creates and return a vector containing the name of the coefficients associated to the current cluster.

Usage

1
2
  getNomCoef(covar, cov_fix, nomClust, itrClust, parametric
    = TRUE)

Arguments

covar

A vector of [character] indicating the covariates with a levec cluster effect.

cov_fix

A vector of [character] indicating the covariates with the same effect in each cluster.

nomClust

The beginning of the name of the undicator covariates, by default 'G[letters]'.

itrClust

The number of the current cluster.

parametric

By default [TRUE] for parametric on time.

Details

Given the name of the covariates and the number of the current cluster, it constructs a vector used to retrieve the coefficients from a 'glm' object, these coefficients are used to calculate the predicted values of the current cluster.

Value

A vector of [character] giving the name of the coefficients associated to awith a given cluster.

Note

Meant to be used internally.