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?


ShanaScogin/BayesPostEst documentation built on May 20, 2022, 6:36 p.m.