rucl.bootstrap: Functions for generating bootstrap samples

Description Usage Arguments Value Author(s) Examples

Description

Produces bootstrap samples for either censored or uncensored datasets

Usage

1
2
cu.bootstrap(x, d, N = as.integer(Sys.getenv("rucl.N")), func = ple.lite, ...)
uu.bootstrap(x, N, func = mean, ...)

Arguments

x

A vector containing the dataset to be bootstrapped

d

A logical vector indicating whether readings in x are detections on non-detections, TRUE indicated detection, FALSE indicates non-detection

N

The number of bootstrap iterations to be performed

func

The function to be bootstrapped, mean by default for uncensored, ple.lite by default for censored datasets

...

Additional arguments to be passed to and from other functions

Value

Returns a numeric vector containing the N values calculated from func.

Author(s)

Eric Bailey

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

ebailey78/rucl documentation built on May 15, 2019, 7:29 p.m.