This class represents a collection of Prior objects. It provides
methods for accessing, adding and removing priors from the list
Public fields
priorsA list of
Priorobject.
Methods
Method new()
Initializes the object
Usage
PriorList$new(priors)Arguments
priorsA list of
Priorobject.
Method varnames()
Variable names of priors in object
Returns
A character list with the variable names of the priors.
Method classes()
Function to return the classes of all contained priors
Returns
A character list with the class names of the priors.
Method types()
Get types of all contained priors
Returns
A character list with the type names of the priors.
Method exists()
Does a certain variable or type combination exist as prior ?
Returns
A character id.
Method collect()
Collect priors for a given id or multiple.
Arguments
idA
characterwith the prior id.
Method summary()
Summary function that lists all priors
Returns
A data.frame with the summarized priors.
