Learn R Programming

Omisc (version 0.1.5)

bootAnalysis: bootAnalysis

Description

bootAnalysis

Usage

bootAnalysis(boot, collapse = cbind, FUN, ...)

Value

A list or matrix of results

Arguments

boot

A list of bootstrap resamples from NaiveBoot or uniboot.

collapse

Should the results be collapsed from list form. Can take values of NULL, cbind or rbind

FUN

The function to apply to the bootstrap resamples

...

additional arguments to be passed to FUN

Examples

Run this code
data<-DFSimulated()
data<-doubleEnter(data[,1],data[,2],data[,3])
boots<-uniboot(data, 1000, "Rs", TRUE, .5, NULL)
results<-bootAnalysis(boots, cbind, FUN=DFanalysis, 1,2,3,TRUE,FALSE,FALSE,TRUE,FALSE)

Run the code above in your browser using DataLab