new_mcmcRocPrc: Constructor for mcmcRocPrc objects

View source: R/mcmcRocPrc.R

new_mcmcRocPrcR Documentation

Constructor for mcmcRocPrc objects

Description

This function actually does the heavy lifting once we have a matrix of predicted probabilities from a model, plus the vector of observed outcomes. The reason to have it here in a single function is that we don't replicate it in each function that accomodates a JAGS, BUGS, RStan, etc. object.

Usage

new_mcmcRocPrc(pred_prob, yvec, curves, fullsims)

Arguments

pred_prob

a ⁠\[N, iter\]⁠ matrix of predicted probabilities

yvec

a numeric(N) vector of observed outcomes

curves

include curve data in output?

fullsims

collapse posterior samples into single summary?


BayesPostEst documentation built on Aug. 19, 2025, 1:11 a.m.