View source: R/compareDichotomicBy.r
compareDichotomicBy | R Documentation |
By default, the first level is the 'correct' answer. Includes: - Proportion of correct - Chi-Square test - Effect size: Cramer V
compareDichotomicBy(
vars,
g,
varnames = colnames(vars),
success = NULL,
descriptives = "both"
)
vars |
a data.frame with variables |
g |
groups to divide the information into |
varnames |
variables to analyze |
success |
value to considered as success |
descriptives |
value to present as descriptive. Could be 'n', 'p' or 'both' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.