extract_estimates_MRMC: MRMC: Extract All Posterior Mean Estimates from...

Description Usage Arguments Details Value See Also Examples

View source: R/extract_EAP_by_array.R

Description

Extract Posterior Mean estimates, preserving its format, such as array, vector. From MRMC models, it extract the EAPs and CIs.

Usage

1
extract_estimates_MRMC(StanS4class, dig = 3)

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

dig

A variable to be passed to the function rstan::sampling() of rstan in which it is named ...??. A positive integer representing the Significant digits, used in stan Cancellation. Default = 5,

Details

To validate our model has no bias, that is comparison of true parameters of distributions and EAPs, we have to extract the estimates from the stanfitExtended object. And this function do it.

Value

EAPs, CIs which preserving its format, such as array, vector.

See Also

extract_EAP_CI() is used in the function extract_estimates_MRMC().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

 fit <- fit_Bayesian_FROC(
              BayesianFROC::dataList.Chakra.Web.orderd,
              summary = FALSE,
              ite=111)

 EAPs <- extract_estimates_MRMC(fit)


## End(Not run)# dottest

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