new_mcmcRocPrc: Constructor for mcmcRocPrc objects

Description Usage Arguments

View source: R/mcmcRocPrc.R

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

1
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 Nov. 11, 2021, 9:07 a.m.