Skip to contents

Extract Upper and Lower Bounds from a Prior object

Usage

parse_constraint(object)

Arguments

object

Prior Object of class Prior

Value

A list with upper and lower bounds. Any unspecified bounds are set to -Inf or Inf.

Examples

np <- normal_prior(0, 100)
psborrow2:::parse_constraint(np)
#> lower upper 
#>  -Inf   Inf