Description Usage Arguments Details Author(s) Examples
Gives the dimensions of each subset of the data; allows the analyst to know the distribution of the tests after being divided along one or two cateogorical factors, as well as the possible control pool for each subset. A low ratio between tests and controls might indicate that R was forced to make selections for certain controls that might not be a good fit.
1 | subset_dim(raw_tests, raw_controls, num_cat_factors = 1)
|
raw_tests |
The imported test data |
raw_controls |
The imported control data |
num_cat_factors |
The number of categorical factors we are subsetting on |
The number of categorical factors defaults to 1. categorical factors are in the leftmost columns of each data set.
Nicholas Sun <nicholas.sun@rutgers.edu>
1 2 3 | raw_tests <- read.csv("raw_tests_2_categories.csv")
raw_controls <- read.csv("raw_controls_2_categories.csv")
subset_dim(raw_tests, raw_controls, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.