Description Usage Arguments Value Examples
View source: R/check_sample_size.R
Check Sample Size of combinations of dimensions
1 | check_sample_size(data, dimensions, drug_names = DrugNames, path)
|
data |
data frame of raw data or renamed data. |
dimensions |
character vector of dimensions to be analysis in |
drug_names |
dimension name for |
path |
character of |
a data frame of dimension combination which are encoded with 0/1 and
maximum sample size (max_ss
), median sample size (med_ss
) and minimum
sample size (min_ss
).
1 2 | data <- data.frame(a=c(1,2,1,2,1,2,1,2), b=c(1,1,2,2,3,3,1,1), c=c(1,1,1,1,1,1,2,2))
check_sample_size(data, dimensions = c('a', 'b', 'c'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.