MpriorOK: Check validity of format of custom prior for M
Description
Check validity of format of custom prior for M
Usage
MpriorOK(prior)
Value
boolean. Is the prior formatted properly?
Arguments
prior
a custom prior for M must be a matrix with columns for M and
and associated probabalities P(M = m). The M column must begin at 0 and the
probabilities must sum to 1.