View source: R/plot-etiology-regression.R
plot_subwt_regression | R Documentation |
visualize the subclass weight regression with a continuous covariate
plot_subwt_regression(
DIR_NPLCM,
stratum_bool,
case = 0,
slice = 1,
truth = NULL,
RES_NPLCM = NULL
)
DIR_NPLCM |
File path to the folder containing posterior samples |
stratum_bool |
a vector of TRUE/FALSE with TRUE indicating the rows of subjects to include |
case |
1 for plotting cases, 0 for plotting controls; default to 0. |
slice |
integer; specifies which slice of bronze-standard data to visualize; Default to 1. |
truth |
a list of truths computed from true parameters in simulations; elements:
Eti, FPR, PR_case,TPR; All default to
|
RES_NPLCM |
pre-read res_nplcm; default to NULL. |
A figure of subclass regression curves
Other visualization functions:
plot.nplcm()
,
plot_BrS_panel()
,
plot_SS_panel()
,
plot_check_common_pattern()
,
plot_check_pairwise_SLORD()
,
plot_etiology_regression()
,
plot_etiology_strat()
,
plot_panels()
,
plot_pie_panel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.