stanfit_from_its_inherited_class: Chage S4 class to stanfit

Description Usage Arguments Value Examples

View source: R/argMax.R

Description

Chage S4 class to stanfit

Usage

1

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

Value

A fitted model object whose S4 class is the stanfit

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
## Not run: 
#========================================================================================
#                   Draw   a trace plot for a paramter whose R hat is largest
#========================================================================================


#  Fit a model to data
#______________________



      f <- fit_Bayesian_FROC(
                         ite  = 111,
                          cha = 1,
                     dataList = d)

# Change the class of the above object "f" to stanfit from its inherited class
#____________________________________________________________________



  stanfit_from_its_inherited_class(f)



## End(Not run)

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