jackknife: Jackknife Estimation

jackknifeR Documentation

Jackknife Estimation

Description

Jackknife Estimation

Usage

## S4 method for signature 'DiversityIndex'
jackknife(object, f = NULL)

Arguments

object

An R object (typically a DiversityIndex object).

f

A function that takes a single numeric vector (the leave-one-out values) as argument.

Value

If f is NULL (the default), jackknife() returns a numeric matrix with the following columns:

original

The observed value.

mean

The jackknife estimate of mean.

bias

The jackknife estimate of bias.

error

The jackknife estimate of standard error.

If f is a function, jackknife() returns the result of f applied to the leave-one-out values.

Author(s)

N. Frerebeau

See Also

Other resampling methods: bootstrap()

Examples

## Data from Conkey 1980, Kintigh 1989
data("cantabria")

## Shannon diversity index
(h <- heterogeneity(cantabria, method = "shannon"))

## Jackknife resampling
jackknife(h)

jackknife(h, f = summary)

tesselle/tabula documentation built on June 15, 2025, 12:08 a.m.