Learn R Programming

quantable (version 0.3.6)

my_jackknife: copute jack knive

Description

copute jack knive

Usage

my_jackknife(xdata, .method, ...)

Arguments

xdata

matrix

.method

method i.e. cor, parameters

...

further parameters to .method

Value

list with all jackknife matrices

Examples

Run this code
# NOT RUN {
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")
# }

Run the code above in your browser using DataLab