Calulcates approximate posterior probabiltiies from a Reversible Jump Results object for an anlaysis which has been run with enumeration turned on for the beginning.

.ApproxPostProbsByModelEnumeration(
  enumerated.model.likelihood.scores,
  model.space.priors,
  enumerate.up.to.dim
)

Arguments

enumerated.model.likelihood.scores

Check NULL values.

model.space.priors

Check NULL values.

enumerate.up.to.dim

Maxmimum dimension to truncate space too (can be less than or equal to what was passed to R2BGLiMS). If left NULL the value passed to R2BGLiMS will be used.

Value

A list containing all model, marginal and dimension approximate posterior probabilities

Author

Paul Newcombe