Skip to contents

Applies constraints to a prior distribution to ensure any sampled numbers from the distribution fall within the constraints

Usage

set_limits(object, lower = -Inf, upper = Inf)

# S3 method for class 'Prior'
set_limits(object, lower = -Inf, upper = Inf)

Arguments

object

(Prior)
a prior distribution to apply constraints to

lower

(numeric)
lower constraint boundary

upper

(numeric)
upper constraint boundary