dconstraint gives the density and rconstraint generates random deviates,
but these are unusual as the density is 1 if x matches cond and
0 otherwise and the deviates are simply the value of cond
Arguments
x
value indicating whether cond is TRUE or FALSE
cond
logical value
log
logical; if TRUE, probability density is returned on the log scale.
n
number of observations (only n=1 is handled currently).
Author
Christopher Paciorek
Details
Used for working with constraints in BUGS code.
See the NIMBLE manual for additional details.