plotdgaitd.vglm {VGAM}R Documentation

Plotting the GAITD Combo Density from a GAITD Regression Object

Description

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

Usage

plotdgaitd(object, ...)
plotdgaitd.vglm(object, ...)

Arguments

object

A fitted GAITD combo regression, e.g., gaitdpoisson.

...

Graphical arguments passed into dgaitdplot.

Details

This is meant to be a more convenient function for plotting the PMF of the GAITD 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 gaitdpoisson fit. As much information as needed such as the special values is extracted from the object and fed into dgaitdplot.

Value

Same as dgaitdplot.

Note

This function is subject to change.

Author(s)

T. W. Yee.

See Also

dgaitdplot, spikeplot, gaitdpoisson.

Examples

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

## End(Not run)

[Package VGAM version 1.1-10 Index]