Assertions and checks that may be of use for custom model implementations.
Check whether the input is a valid posterior probability matrix (for the given model).
has_lcMethod_args(object, which)is_valid_postprob(pp, model = NULL)
The object to test.
The argument names. Ellipsis (...
) will be ignored.
The posterior probability matrix
.
The lcModel
object. Optional.