plot2compare-Bayes.fit-method function

Comparing plot method plot2compare for three Bayesian estimation class objects

Comparing plot method plot2compare for three Bayesian estimation class objects

Comparison of the posterior densities for up to three S4 class Bayes.fit objects methods

## S4 method for signature 'Bayes.fit' plot2compare(x, y, z, names, true.values, reduced = TRUE, newwindow = FALSE)

Arguments

  • x: Bayes.fit class
  • y: Bayes.fit class
  • z: Bayes.fit class (optional)
  • names: character vector of names for x, y and z
  • true.values: list of parameters to compare with the estimations, if available
  • reduced: logical(1), if TRUE, the chains are reduced with the burn-in and thin rate
  • newwindow: logical(1), if TRUE, a new window is opened for the plot

References

Dion, C., Hermann, S. and Samson, A. (2016). Mixedsde: a R package to fit mixed stochastic differential equations.