Learn R Programming

cluscov (version 1.1.0)

chmod.poissonlog: Regression - poissonlog class

Description

A poisson regression implementation for the "poissonlog" class. It uses glm with the poisson link function set to "log"

Usage

# S3 method for poissonlog
chmod(object, ...)

Arguments

object

a list of Y - outcome variable and X - design matrix of class "poissonlog"

...

additional parameters to be passed to glm

Value

fitted model object

Examples

Run this code
# NOT RUN {
chmod(c_chmod(Y=women$height,X=women$weight,modclass="poissonlog"))
# }

Run the code above in your browser using DataLab