getNomCoef: Get the name of the coefficients in the 'glm' object...

Description Usage Arguments Details Value Note

View source: R/functions4glmClust.R

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.


kmlcov documentation built on May 20, 2017, 12:53 a.m.

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

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

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

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