View source: R/correlation_posterior.R
correlation_posterior | R Documentation |
Compute and plot the correlation matrix of the parameters obtained from a MCMC fit. It returns a n-by-n matrix, where n is the number of parameters.
correlation_posterior(FOIfit, show_coefficients = TRUE)
FOIfit |
An object of the class |
show_coefficients |
Boolean. If |
The correlation matrix.
Nathanael Hoze nathanael.hoze@gmail.com
data('two_peaks_simulation')
model <- FOImodel('outbreak',K=2, background = 1)
F <- fit(data=data, model=model)
M <- correlation_posterior(F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.