Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotdgait

Plotting the GAIT Combo Density from a GAIT Regression Object


Description

Given a GAIT regression object, plots the probability mass function.

Usage

plotdgait(object, ...)
plotdgait.vglm(object, ...)

Arguments

object

A fitted GAIT combo regression, e.g., gaitpoisson.

...

Graphical arguments passed into dgaitplot.

Details

This is meant to be a more convenient function for plotting the PMF of the GAIT combo model from a fitted regression model. The fit should be intercept-only and the distribution should have 1 or 2 parameters. Currently it should work for a gaitpoisson fit. As much information as needed such as the special values is extracted from the object and fed into dgaitplot.

Value

Same as dgaitplot.

Note

This function is subject to change.

Author(s)

T. W. Yee.

See Also

Examples

## Not run: 
example(gaitpoisson)
gaitpfit2 <- vglm(y1 ~ 1, crit = "coef", trace = TRUE, data = gdata,
                  gaitpoisson(alt.mix = a.mix, inf.mix = i.mix,
                              inf.mlm = i.mlm, eq.ap = TRUE, eq.ip = TRUE,
                              truncate = tvec, max.support = max.support))
plotdgait(gaitpfit2)

## End(Not run)

VGAM

Vector Generalized Linear and Additive Models

v1.1-5
GPL-3
Authors
Thomas Yee [aut, cre], Cleve Moler [ctb] (author of several LINPACK routines)
Initial release
2021-01-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.