Learn R Programming

hadron (version 3.1.2)

jackknife_cov: jackknife_cov

Description

Computes covariance matrix for jackknife samples.

Usage

jackknife_cov(x, y = NULL, na.rm = FALSE, ...)

Arguments

x

a numeric vector, matrix or data frame.

y

<U+2018>NULL<U+2019> (default) or a vector, matrix or data frame with compatible dimensions to <U+2018>x<U+2019>. The default is equivalent to <U+2018>y = x<U+2019> (but more efficient).

na.rm

logical. The rows containing any NA will be deleted if this option is set.

...

parameters to be forwarded to cov.

Value

returns a matrix corresponding to the jackknife estimate of the covariance matrix