Learn R Programming

BayesianFROC (version 1.0.0)

plot_dataset_of_ppp: plot datasets using calculation of ppp

Description

plot datasets using calculation of ppp

Usage

plot_dataset_of_ppp(
  StanS4class,
  summary = FALSE,
  verbose = FALSE,
  colorindex = 6
)

Arguments

StanS4class

An S4 object of class stanfitExtended which is an inherited class from the S4 class stanfit. This R object is a fitted model object as a return value of the function fit_Bayesian_FROC().

To be passed to DrawCurves() ... etc

summary

Logical: TRUE of FALSE. Whether to print the verbose summary. If TRUE then verbose summary is printed in the R console. If FALSE, the output is minimal. I regret, this variable name should be verbose.

verbose

A logical, whether title in plot is verbose or not.

colorindex

A positive integer, indicating the color of scatter plots.

Value

null

Examples

Run this code
# NOT RUN {
#========================================================================================
#                              Now single reader and single modality case only
#========================================================================================
# Fit a model to data-set "d"
# In the resulting object contained samples from posterior predictive distribution (PPD)

f <- fit_Bayesian_FROC( ite  = 1111, summary = TRUE,  cha = 1, dataList = d )


# Plot samples synthesized from posterior predictive distribution (PPD)

plot_dataset_of_ppp(f)
plot_dataset_of_ppp(f,colorindex = 1)
plot_dataset_of_ppp(f,colorindex = 2)
plot_dataset_of_ppp(f,colorindex = 3)
plot_dataset_of_ppp(f,colorindex = 4)

# }
# NOT RUN {
#dontrun

# }

Run the code above in your browser using DataLab