crosstable_effect_args | R Documentation |
crosstable()
This helper function provides default parameters for defining how the effect sizes should be computed. It belongs to the effect_args
argument of the crosstable()
function. See effect_summary, effect_tabular, and effect_survival for more insight.
crosstable_effect_args(
effect_summarize = diff_mean_auto,
effect_tabular = effect_odds_ratio,
effect_survival = effect_survival_coxph,
effect_display = display_effect,
conf_level = 0.95,
digits = 2
)
effect_summarize |
a function of three arguments (continuous variable, grouping variable and conf_level), used to compare continuous variable. Returns a list of five components: |
effect_tabular |
a function of three arguments (two categorical variables and conf_level) used to measure the associations between two factors. Returns a list of five components: |
effect_survival |
a function of two argument (a formula and conf_level), used to measure the association between a censored and a factor. Returns the same components as created by |
effect_display |
a function to format the effect. See |
conf_level |
the desired confidence interval level |
digits |
the decimal places |
A list with effect parameters
Dan Chaltiel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.