value: value

Description Usage Arguments Methods (by class) Examples

Description

Extract or replact the value of parameter object

Usage

1
2
3
4
5
6
7
8
9
value(object)

## S4 method for signature 'parameter'
value(object)

value(object) <- value

## S4 replacement method for signature 'parameter'
value(object) <- value

Arguments

object

A parameter object

value

A numeric vector of length one. Must be fall between the parameter objects upper and lower bounds.

Methods (by class)

Examples

1
2
3
4
5
p <- new("parameter", value = .5, name = "binomial_p",
         upper_bound = 1, lower_bound = 0)
value(p)
value(p) <- .9
value(p)

wjhopper/parameters documentation built on May 28, 2017, 4:36 a.m.