Learn R Programming

VGAM (version 1.0-5)

vplot.profile: Plotting Functions for 'profile' Objects

Description

plot and pairs methods for objects of class "profile", but renamed as vplot and vpairs.

Usage

vplot.profile(x, ...)
vpairs.profile(x, colours = 2:3, ...)

Arguments

x

an object inheriting from class "profile".

colours

Colours to be used for the mean curves conditional on x and y respectively.

arguments passed to or from other methods.

Details

See profile.glm for details.

See Also

profilevglm, confintvglm, lrt.stat, profile.glm, profile.nls.

Examples

Run this code
# NOT RUN {
pneumo <- transform(pneumo, let = log(exposure.time))
fit1 <- vglm(cbind(normal, mild, severe) ~ let, acat,
             trace = TRUE, data = pneumo)
pfit1 <- profile(fit1, trace = FALSE)
# }
# NOT RUN {
vplot.profile(pfit1)
vpairs.profile(pfit1)
# }

Run the code above in your browser using DataLab