ihw_partitioned_pval_weights: Stratified IHW p-value weights

View source: R/ihw.R

ihw_partitioned_pval_weightsR Documentation

Stratified IHW p-value weights

Description

Plot p-value weights for each strata partitioned by fold.

Usage

ihw_partitioned_pval_weights(
  ihw_data,
  scale = covariate_type(ihw_data),
  point_size = 2,
  line_size = 1.5,
  alpha = 1
)

Arguments

ihw_data

An ihwResult object.

scale

Scale of the IHW variable. Either 'nominal' or 'ordinal'.

point_size

Point size for ordinal plot.

line_size

Line size for ordinal plot.

alpha

Plot colors alpha value.

Details

Produces either a barplot or line plot depending on if the IHW variable is nominal or ordinal. A stable p-value weighting scheme is expected to show consistent weights across folds within a stratum and increasing weights with increasing stratum ID.

Value

A ggplot object.

See Also

Other ihw: ihw_diagnostic_plots(), ihw_pval_cdf(), ihw_pval_comparison(), ihw_pval_decision_boundary(), ihw_pval_ridges(), ihw_pval_scatter(), ihw_stratified_pval_hist()


bryancquach/omixjutsu documentation built on Jan. 29, 2023, 3:47 p.m.