bootcurve: Plot Fitted Curves and Corresponding Confidence Interval...

Description Usage Arguments Examples

View source: R/utilities.R

Description

Plot fitted curves and corresponding 95% confidence interval using bootstrapping method.

Usage

1
bootcurve(object, nboot)

Arguments

object

a fitted joint mean covariance model of class "geerMod", i.e., typically the result of geer().

nboot

number of the bootstrap replications.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# It may take hours for large bootstrap replications
fitgee.ar1 <- geer(cd4|id|time ~ 1|1, data = aids, triple = c(6,3,3),
  method = 'gee-mcd', corr.struct = 'ar1', rho = 0.5,
  control = geerControl(trace=TRUE))
bootcurve(fitgee.ar1, nboot = 1000)

## End(Not run)

gee4 documentation built on May 2, 2019, 10:14 a.m.