NormalPrior-class: Normal prior class for Beta and Delta parameters.

Description Usage Arguments Value Fields

Description

This is used to represent the prior for Beta and Delta individually. They still need to be joined to be used in a model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S4 method for signature 'NormalPrior'
names(x)

## S4 method for signature 'NormalPrior'
x$name

## S4 replacement method for signature 'NormalPrior'
x$name <- value

## S4 method for signature 'NormalPrior'
show(object)

## S4 method for signature 'NormalPrior'
print(x, ...)

## S3 method for class 'NormalPrior'
print(x, ...)

Arguments

x

The NormalPrior object.

name

The requested slot.

value

New value.

object

The NormalPrior object.

...

Ignored.

Value

names: A character vector with the prior parameters.

`$`: The requested slot's value.

`$<-`: The new object with the updated slot.

show and print: The invisible object.

Fields

mu

The mean vector for the prior.

Sigma

The covariance matrix for the prior.


bayesPO documentation built on Oct. 26, 2021, 5:07 p.m.