Returns a 'ggplot2'-friendly data-frame with the marginal posterior densities.
# S3 method for metric_graph_spde_result
gg_df(
result,
parameter = result$params,
transform = TRUE,
restrict_x_axis = parameter,
restrict_quantiles = list(sigma = c(0, 1), range = c(0, 1), kappa = c(0, 1), sigma =
c(0, 1)),
...
)A data.frame containing the posterior densities.
A metric_graph_spde_result object.
Vector. Which parameters to get the posterior density in the
data.frame? The options are sigma, range or kappa.
Should the posterior density be given in the original scale?
Variables to restrict the range of x axis based on quantiles.
List of quantiles to restrict x axis.
Not being used.