pairs_plot_if_divergent_transition_occurred: Pairs plot for divergent transition

Description Usage Arguments Examples

View source: R/pairs_plot_if_divergent_transition_occurred.R

Description

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

Usage

1
2
3
4
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## 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()

    
## End(Not run)

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.