parameter-class: Bounded parameter objects

Description Usage Arguments Details Methods (by generic) Slots Examples

Description

An S4 class to represent a bounded parameter for a model

Usage

1
2
## S4 method for signature 'parameter'
show(object)

Arguments

object

herp

Details

No constructor function exists for parameter objects. Parameter objects should be instantiated with the new() function directly.

Methods (by generic)

Slots

value

A numeric vector of length one, which acts as the parameters value

name

A character vector of length one, which acts as a semantic label for what the parameter value represents

upper_bound

A numeric vector of length one. The value slot may not be assinged a value greater than the value of the upper_bound slot.

lower_bound

A numeric vector of length one. The value slot may not be assinged a value less than the value of the lower_bound slot.

Examples

1
2
new("parameter", value = .5, name = "binomial_p",
    upper_bound = 1, lower_bound = 0)

wjhopper/parameters documentation built on May 4, 2019, 7:33 a.m.