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 "jmcmMod", i.e., typically the result of jmcm().

nboot

number of the bootstrap replications.

Examples

1
2
3
4
5
6
7
## Not run: 
# It may take hours for large bootstrap replications
fit.mcd <- jmcm(I(sqrt(cd4)) | id | time ~ 1 | 1, data=aids,
  triple = c(8, 1, 3), cov.method = 'mcd', control = jmcmControl(trace=T))
bootcurve(fit.mcd, nboot = 1000)

## End(Not run)

jmcm documentation built on Jan. 16, 2021, 5:32 p.m.

Related to bootcurve in jmcm...