Description Usage Arguments Value
Cell permutation tests (internal)
1 2 3 4 5 6 7 8 9 | .cluster_permute_test(
labels,
covariates,
strata,
statistic,
n_perm,
alternative,
...
)
|
labels |
|
covariates |
|
strata |
|
statistic |
function of label (vector) and covariate (data.frame). Must return a scalar |
n_perm |
number of permutations to run |
alternative |
|
... |
passed along to |
a list containing the observed value of the statistic, its expectation (under independence), a p-value, and the Monte Carlo standard error (of the expected value).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.