lpdf
instanceslogpdf = new(lpdfvec, loglik, logpr)
This is a class where each instance contains two lpdf
instances and can be
manipulated as a single instance. It presumes both are based on the same
outermod
instance, thus they share hyperparameters. However
the model parameters are concatenated. Currently also includes variations
on marginal adjustments.
Currently it is designed only for a pair, but the ordering is arbitrary.
one reference to a lpdf
instance
another reference to a lpdf
instance that shares
outermod
with loglik
no returns, this is a class which contains methods
lpdfvec$domarg
A boolean that controls if marginal adjustment is done
base class: lpdf