Learn R Programming

pompp (version 0.1.3)

GammaPrior-class: Gamma prior class for the LambdaStar parameter.

Description

This is used to represent the prior for lambdaStar individually. It still needs to be joined with the prior for Beta and Delta to be used in a model.

Usage

# S4 method for GammaPrior
names(x)

# S4 method for GammaPrior $(x, name)

# S4 method for GammaPrior $(x, name) <- value

# S4 method for GammaPrior show(object)

# S4 method for GammaPrior print(x, ...)

# S3 method for GammaPrior print(x, ...)

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.

Arguments

x

The GammaPrior object.

name

The requested slot.

value

New value.

object

The GammaPrior object.

...

Ignored.

Fields

shape

The shape parameter of the Gamma distribution.

rate

The rate parameter of the Gamma distribution.

See Also

prior

Examples

Run this code
GammaPrior(0.0001, 0.0001)

Run the code above in your browser using DataLab