Ops.prior: Implementation of the '==' operator for priors

View source: R/ui_priors.R

Ops.priorR Documentation

Implementation of the '==' operator for priors

Description

Implementation of the '==' operator for priors

Usage

## S3 method for class 'prior'
Ops(e1, e2)

Arguments

e1, e2

Objects of class "prior".

Value

Boolean (or throws an error for unsupported operators).

Examples

p <- constant_p(0)
q <- constant_p(4)
p == q

p <- hcauchy_p(2)
q <- hcauchy_p(2)
p == q


isotracer documentation built on Sept. 22, 2023, 1:07 a.m.