purity: Calculate number of cluster-subject singletons for the...

Description Usage Arguments Value See Also Examples

View source: R/permutation-testing.R

Description

Calculate number of cluster-subject singletons for the purposes of permutation testing

Usage

1
purity(cluster_idx, subject)

Arguments

cluster_idx

factor-like cluster variable

subject

factor-like subject

Value

average number of singletons

See Also

cluster_permute_test()

Examples

1
message("see example(cluster_permute_test)")

CellaRepertorium documentation built on Nov. 8, 2020, 7:48 p.m.