Learn R Programming

isotracer (version 1.1.8)

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

Description

Implementation of the '==' operator for priors

Usage

# S3 method for prior
Ops(e1, e2)

Value

Boolean (or throws an error for unsupported operators).

Arguments

e1, e2

Objects of class "prior".

Examples

Run this code
p <- constant_p(0)
q <- constant_p(4)
p == q

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

Run the code above in your browser using DataLab