R/assert.r

Defines functions assert

assert <- function(cond, msg="error encountered") {
    if ( !cond ) {
        stop(msg);
    }
}

Try the BayesKnockdown package in your browser

Any scripts or data that you put into this service are public.

BayesKnockdown documentation built on Nov. 8, 2020, 5:48 p.m.