fisher_row | R Documentation |
Row using Fisher's exact test
fisher_row( data_item, data = NULL, data_filter = NULL, row_digits = NULL, na.rm = TRUE, reference_level = NULL, include_reference = TRUE, workspace = NULL, include_denom = NULL, percent_first = NULL, cat_out_of_row = NULL )
data_item |
item to be taken from data for row |
data |
separate dataset to use |
data_filter |
filter to apply to dataset |
row_digits |
digits for data item (overrides table as a whole) |
na.rm |
whether to include NA in the denominator for percentages |
reference_level |
a level of the variable to drop from display |
include_reference |
whether to include the first level of the factor in the report |
workspace |
passed onto |
include_denom |
whether to include the denominator for categorical variables |
percent_first |
whether to put the percent before the n for categorical variables |
cat_out_of_row |
whether percentages in categories should be calculated out of row rather than column |
first_table( mtcars, .column_variable = cyl, fisher_row(gear, row_digits = 2, include_reference = TRUE) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.