flimboot: 'FLIM' bootstrap function

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/flimboot.R

Description

flimboot can be used to bootstrap an object of class "flim". The function resamples the original data, and reconstructs each sample with flim.

Usage

1
2
3
flimboot(fo, R, counter = FALSE)
## S3 method for class 'flimboot'
print(x, ...)

Arguments

fo

object of class "flim".

R

number of bootstrap samples.

counter

logical. If TRUE displays a bootstrap sample counter. Works by default on Mac and Linux platforms.

x

object of class "flimboot".

...

not used.

Details

The resampling is performed on the individuals with replacement, so that if an individual is sampled to the bootstrap data, the whole set of longitudinal responses for this individual is included.

Value

flimboot returns an object of class "flimboot".

The function plot.flimboot can be used for plotting reconstructed mean responses of the original "flim" object together with bootstrap confidence bands. Additionally one may calculate the standard errors for the mean response with flimSD.

An object of class "flimboot" contains the following components

org

the original "flim" object.

samples

a list with the bootstrapped "flim" objects.

Note

To access the reconstructed bootstrap datasets if needed, type e.g flimbootobject$samples[[1]]$df for the first sample, flimbootobject$samples[[2]]$df for the second etc.

Author(s)

Rune Hoff

See Also

flim, flimSD, plot.flimboot


FLIM documentation built on May 29, 2017, 11:30 p.m.