Description Usage Arguments Value
View source: R/produce_2_by_k_counts_table.R
This function takes in a data frame where the first column is a vector of 2 categories, while the second column is a vector of redundant k cases.
1 |
df |
A data frame where df[,1] is a vector of two categories (e.g. "A","B"), while df[,2] is a vector of redundant cases (e.g. "Q","Q"). |
A 2xk table of counts in the 2 categories.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.