count_observations | R Documentation |
Count observations per group in an association study. Output is a data frame, with the strata with smallest number of observations on top
count_observations(data, stratum = NULL, response.names = NULL)
data |
data.frame |
stratum |
any blocking vars. can be empty |
response.names |
any response names/other vars to block by. Can be empty |
a data frame with number of observations
count_observations(immune_data, stratum = c("Batch", "Sex"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.