ihw_stratified_pval_hist | R Documentation |
Plot p-value histograms for IHW variable strata.
ihw_stratified_pval_hist( ihw_data, num_strata = nlevels(IHW::groups_factor(ihw_data)), fill_color = "gray20", fill_alpha = 1 )
ihw_data |
An ihwResult object. |
num_strata |
Number of strata into which the independent variable is divided. |
fill_color |
Fill color for area under density distributions. |
fill_alpha |
Fill color alpha value for area under density distributions. |
This plot partitions the p-values into equal sized strata of the IHW variable to generate multiple p-value histograms. For an informative IHW variable, the larger the stratum ID the more skew there should be towards enrichment of smaller p-values.
A ggplot object.
Other ihw:
ihw_diagnostic_plots()
,
ihw_partitioned_pval_weights()
,
ihw_pval_cdf()
,
ihw_pval_comparison()
,
ihw_pval_decision_boundary()
,
ihw_pval_ridges()
,
ihw_pval_scatter()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.