Learn R Programming

season (version 0.3.15)

plot.monthglm: Plot of Monthly Estimates

Description

Plots the estimated from a generalized linear model with a categorical variable of month.

Usage

# S3 method for monthglm
plot(x, alpha = 0.05, ylim = NULL, ...)

Arguments

x

a monthglm object produced by monthglm.

alpha

statistical significance level of confidence intervals.

ylim

y coordinates ranges (the default is NULL, and the limits are automatically calculated).

additional arguments passed to the plot.

See Also

monthglm

Examples

Run this code
# NOT RUN {
data(CVD)
mmodel = monthglm(formula=cvd~1, data=CVD, family=poisson(),
                  offsetpop=expression(pop/100000), offsetmonth=TRUE, refmonth=6)
plot(mmodel)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab