jackknife | R Documentation |
Compute jackknive resampling on matrix
jackknife(xdata, .method, ...)
xdata |
matrix |
.method |
method i.e. cor, parameters |
... |
further parameters to .method |
list with all jackknife matrices
list of matrices
Other transitioncorrlation:
cor_jackknife_matrix()
,
cor_order()
,
jackknife_matrix()
xx <- matrix(rnorm(20), ncol=4)
cortest <- function(x){print(dim(x));cor(x)}
jackknife(xx, cortest)
tmp <- jackknife(xx, cor, use="pairwise.complete.obs", method="pearson")
stopifnot(length(tmp) == 3)
stopifnot(length(tmp[[2]]) == nrow(xx))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.