MpriorOK {dwp} | R Documentation |
Check validity of format of custom prior for M
MpriorOK(prior)
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. |
boolean. Is the prior formatted properly?