Learn R Programming

BayesianFROC (version 1.0.0)

pairs_plot_if_divergent_transition_occurred: Pairs plot for divergent transition

Description

If divergent transition occurs, the author often forget the variable par or pars. So, I made this to avoid such confusion.

Usage

pairs_plot_if_divergent_transition_occurred(
  StanS4class,
  character.representing.paramter = "z"
)

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

character.representing.paramter

Character, surrounded by "", indicating the paramter of model.

Examples

Run this code
# NOT RUN {
# Create a fitted model object of class stanfitExtended  inherited from stanfit.

 fit <- fit_Bayesian_FROC( ite  = 1111,
                           summary = FALSE,
                           cha = 1,
                           Null.Hypothesis = FALSE,
                           dataList = dd )

# Pairs plot to examine the divergent transition.



          # pairs_plot_if_divergent_transition_occurred(fit)

# R CMD check launched error that pkg cannot be found, but it exsits
# Moreover it is available without errors from R console.  but I put # here
# to proceed futher steps in R CMD checks, what a lovely, pretty cute R CMD check is!











    Close_all_graphic_devices()

    
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab