ref_dist_bin | R Documentation |
Generates a reference distribution by randomly permuting each column of the original binary dataset.
ref_dist_bin(df)
df |
data.frame or matrix of the original binary dataset |
Generate Binary Reference Distribution
A matrix containing the permuted binary reference distribution
binary_data <- matrix(sample(0:1, 100, replace=TRUE), ncol=5)
ref <- ref_dist_bin(binary_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.