Description Usage Arguments Value
Creates ROC or response distribution model fit plots with posterior predictive intervals.
1 2 3 4 5 6 7 8 9 | plot_sdt_fit(
fit,
adata,
variables = NULL,
type = "roc",
alpha = 0.05,
bw = TRUE,
verbose = T
)
|
fit |
a stanfit object. |
adata |
an aggregated data object produced by the
|
variables |
an optional vector of names of variables. These variables, if specified, define the subsets of data that will be represented by separate plots. |
type |
a type of plot required. If type = 'roc' then ROC curve plots are created, if type != 'roc' then response distribution plots are created. |
alpha |
an alpha level for the posterior predictive intervals, e.g., if alpha = .05 then 100% - alpha = 95% posterior predictive intervals will be calculated. |
bw |
if TRUE (the default), a black-and-white publication-friendly version of the response distribution plot will be created. |
a plot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.