poissonregression: Poisson regression by aggregated data using glm

Description Usage Arguments

View source: R/poissonregression.R

Description

Aggregates data and performs poisson regression using GLM.

Usage

1
poissonregression(formula, data, aggvars, byvars)

Arguments

formula

The formula as specified in glm.

data

dataset.

aggvars

vector of variables in data to be aggregated (summarized).

byvars

vector of variables in data to aggregate by.


tagteam/heaven documentation built on Jan. 16, 2019, 11:54 p.m.