Learn R Programming

ordinalCont (version 0.4)

plot.ocmm: Plot method for Continuous Ordinal Mixed Model Fits

Description

Plots the g function as fitted in an ocmm call.

Usage

"plot"(x, CIs = c("no", "vcov"), R = 1000, main = "g function (95% CIs)", xlab = "Continuous ordinal scale", ylab = "", CIcol = "lightblue", ...)

Arguments

x
an ocmm object
CIs
indicates if confidence bands for the g function should be computed (based on the Wald 95% CIs). "no" = no CIS [default]; "vcov" = Wald
R
number of bootstrap replicates
main
title of the plot. Defauts to ``g function (95% CIs)"
xlab
label of the x axis. Defaults to ``Continuous ordinal scale''
ylab
label of the y axis. Defaults to an emtpy string
CIcol
color of the confidence interval bands. Defaults to ``lightblue''
...
further arguments passed to or from other methods

Details

The fitted g function of an ocmm object is plotted.

See Also

plot.ocm, ocmm

Examples

Run this code
## Not run: 
# fit.overall.rnd  <- ocmm(overall  ~ cycleno + age + bsa + treatment + (1|randno), data=ANZ0001)
# plot(fit.overall.rnd, CIs="vcov", R=100)
# ## End(Not run)

Run the code above in your browser using DataLab