Learn R Programming

PVAClone (version 0.1-7)

pvamodel-class: Class "pvamodel"

Description

S4 class for predefined PVA models.

Arguments

Objects from the Class

Objects can be created by calls of the form new("pvamodel", ...).

Slots

growth.model:

Object of class "character", name of growth model.

obs.error:

Object of class "character", name of observation error type ("none", "poisson", "normal").

model:

Object of class "dcModel", BUGS model for estimation.

genmodel:

Object of class "dcModel", BUGS model for prediction.

p:

Object of class "integer", number of parameters in model (including fixed parameters!).

support:

Object of class "matrix", range of support for parameters (true parameter scale).

params:

Object of class "character", parameter names (diagnostic scale).

varnames:

Object of class "character", parameter names (true parameter scale).

fixed:

Object of class "nClones", named vector of fixed parameters.

fancy:

Object of class "character", fancy model description.

transf:

Object of class "function", function to transform from true parameter scale to diagnostic scale (takes care of fixed value which are not part of the MCMC output.

backtransf:

Object of class "function", function to transform from diagnostic scale to true parameter scale (takes care of fixed value which are not part of the MCMC output.

logdensity:

Object of class "function", function to calculate log density (used in model selection).

neffective:

Object of class "function", function to calculate effective sample size from the number of observations.

Methods

No methods defined with class "pvamodel" in the signature.

Author

Khurram Nadeem and Peter Solymos

See Also

pva

Examples

Run this code
showClass("pvamodel")

Run the code above in your browser using DataLab