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

Description Usage Arguments Value Examples

Description

Sets the slot. Returns none.

Usage

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

Arguments

object

An prior object.

value

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

Value

None.

Examples

1
2
3
4
# Generate a prior object.
f_prior <- prior()
# Set the slot.
setType(f_prior) <- "condconjugate"

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