ihw_diagnostic_plots | R Documentation |
Creates ggplot objects from an ihwResult object. The ggplot objects correspond to eight plots that assess if IHW is a reasonable method to use with the user-specified independent variable:
log p-value vs. independent variable ranking
log p-value density plots stratified by independent variable
p-value histograms stratified by independent variable
p-value cumulative distributions stratified by independent variable
mean IHW weight stratified by independent variable for multiple folds of the data
decision boundary relative to p-values and independent variable ranking
IHW adjusted p-values vs. raw p-values
IHW adjusted p-values vs. adjusted p-values using a different method This function is a convenient wrapper to quickly generate several diagnostic plots, but each plot can be generated separately using its respective function.
ihw_diagnostic_plots( ihw_data, num_strata = nlevels(IHW::groups_factor(ihw_data)) )
ihw_data |
An ihwResult object. |
Create diagnostic plots for independent hypothesis weighting.
A list of ggplot objects.
ihw_pval_scatter
, ihw_pval_ridges
,
ihw_stratified_pval_hist
, ihw_pval_cdf
,
ihw_partitioned_pval_weights
, ihw_pval_comparison
,
ihw_pval_decision_boundary
,
Other ihw:
ihw_partitioned_pval_weights()
,
ihw_pval_cdf()
,
ihw_pval_comparison()
,
ihw_pval_decision_boundary()
,
ihw_pval_ridges()
,
ihw_pval_scatter()
,
ihw_stratified_pval_hist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.