eval_const {BayesianPower} | R Documentation |
Evaluate a constraint matrix for a set of prior/posterior samples
Description
Evaluate a constraint matrix for a set of prior/posterior samples
Usage
eval_const(hyp, samples)
Arguments
hyp |
A constraint matrix defining a hypothesis. |
samples |
A matrix. Prior or posterior samples, the number of columns corresponds to the number of groups, the number of rows the number of samples |
Value
A number between 0 and 1. The proportion of samples in which the constraints are met.
[Package BayesianPower version 0.2.3 Index]