powered by
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.
# 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, ...)
# 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, ...)
names: A character vector with the prior parameters.
names
`$` The requested slot's value.
`$`
`$<-`: The new object with the updated slot.
`$<-`
show and print: The invisible object.
show
print
The GammaPrior object.
The requested slot.
New value.
Ignored.
shape
The shape parameter of the Gamma distribution.
rate
The rate parameter of the Gamma distribution.
prior
GammaPrior(0.0001, 0.0001)
Run the code above in your browser using DataLab