Learn R Programming

BayesianFROC (version 0.2.1)

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 can be passed to the DrawCurves(), ppp() and ... 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)

    
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab