c_chmod {cluscov}R Documentation

Concrete class constructor

Description

A function for constructing functions for concrete classes of models for the chmod() family of of functions.

Usage

c_chmod(Y, X, modclass = "lm")

Arguments

Y

vector of the outcome variable

X

matrix of covariates; excepting intercepts 1's

modclass

the class of model. Currently, "lm" for linear regression, "logit" (logit model), "qreg" (quantile regression), "probit" (probit model), "gammainverse" (gamma with inverse link), "gammalog" (gamma with log link), "poissonlog" (poisson model with log link), "poissonidentity" (poisson with identity link), "poissonsqrt" (poisson with sqrt link), "negbin" (negative binomial) are supported.

Value

object an object list with class attribute modclass.


[Package cluscov version 1.1.0 Index]