Learn R Programming

cluscov (version 1.1.0)

chmod.poissonsqrt: Regression - poissonsqrt class

Description

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

Usage

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

Arguments

object

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

...

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="poissonsqrt"))
# }

Run the code above in your browser using DataLab