cwtBoot: Bootstrapped CWT Confidence Intervals

View source: R/CWT Functions.R

cwtBootR Documentation

Bootstrapped CWT Confidence Intervals

Description

Create a bootstrap confidence interval

Usage

cwtBoot(x, method = "parametric", nreps = 1000)

Arguments

x

default cwt input

method

The method to calculate bootstrapped intervals can be either "parametric" or "geiger". Using parametric bootstrapping follows a deterministic approach; using Geiger's method follows the Geiger (1990) approach to bootstrapping.

nreps

the number of fish sampled in the fishery

Examples

x <- cwtEst(N=c(125000,NA), n=35000, lambda=c(800,800,600,600), m=6, theta=c(0.019, 102))
xBoot <- cwtBoot(x, method="parametric", nreps=10000)

justinpriest/cwtr documentation built on April 22, 2022, 12:51 a.m.