my_jackknife: copute jack knive

Description Usage Arguments Value Examples

Description

copute jack knive

Usage

1
my_jackknife(xdata, .method, ...)

Arguments

xdata

matrix

.method

method i.e. cor, parameters

...

further parameters to .method

Value

list with all jackknife matrices

Examples

1
2
3
4
xx <- matrix(rnorm(20), ncol=4) 
cortest <- function(x){print(dim(x));cor(x)}
my_jackknife(xx, cortest)
my_jackknife(xx, cor, use="pairwise.complete.obs", method="pearson")

quantable documentation built on May 2, 2019, 4:05 p.m.