Plot abcsmc results : densityridges for estimated parameters
Source:R/plots.R
plot_densityridges.Rd
Plot abcsmc results : densityridges for estimated parameters
Usage
plot_densityridges(
data,
prior,
filename = "densityridges.png",
figtitle = "",
colorpal = "Greys"
)
Arguments
- data
a dataframe containing the estimation results (set of particles accepted during iterations)
- prior
a list linking model name (character string) to a list describing the prior distribution of each parameter estimated (the same as used for the abcsmc function)
- filename
the file name to be used to save the plots (the extension defines the format: pdf or png)
- figtitle
the figure title
- colorpal
a palette name as used in the RColorBrewer package