setPar-set-prior-method: Setter method of 'prior' class.

Description Usage Arguments Value Examples

Description

Sets the slot. Returns the none.

Usage

1
2
## S4 replacement method for signature 'prior'
setPar(object) <- value

Arguments

object

An prior object.

value

An integer defining the new value for the @par slot.

Value

None.

Examples

1
2
3
4
5
# Generate a prior object.
f_prior <- prior()
# Set the slot.
setPar(f_prior) <- setPar(f_prior) <- list(a = matrix(c(1.2, 0.8), nrow = 1), 
                                           b = matrix(c(2.3, 0.4), nrow = 1))

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.