Skip to contents

Checks if argument is a measrprior object

Usage

is.measrprior(x)

Arguments

x

An object

Value

A logical indicating if x is a measrprior object.

Examples

prior1 <- prior(lognormal(0, 1), class = maineffect)
is.measrprior(prior1)
#> [1] TRUE

prior2 <- 3
is.measrprior(prior2)
#> [1] FALSE