Plot the posterior densities of the ETAS parameters
Source:R/AnalysingPosteriors.R
      post_pairs_plot.RdPlot the posterior densities of the ETAS parameters
Arguments
- input.list
- structured input - listwith at least two elements:- model.fit:- bruobject used to sample the posterior of the ETAS parameters
- link.functions:- listof functions to convert the ETAS parameters from the INLA scale to the ETAS scale
 
- n.samp
- The number of samples to draw from the posteriors for the plot 
- post.samp
- data.framewith columns mu, K, alpha, c, p and rows corresponding to different posterior samples. When- NULLthe function samples the joint posterior distribution- n.samptimes. The default is- NULL.
- max.batch
- parameter of post_sampling function to be used in case - post.samp = NULL
Value
list: with elements
- post.samp.df:- data.frameof posterior samples with- nrow = n.sampand columns- mu, K, alpha, c, pcorresponding to ETAS parameters. If- post.sampis not- NULLit returns- post.samp
- pair.plot:- ggplotobject reporting the pair plot between parameters samples. It is obtained using the- ggpairsfunction of the- Ggallylibrary