Learn R Programming

AntMAN (version 1.1.0)

AM_plot_pairs: Plot AM_mcmc_output scatterplot matrix

Description

visualise a matrix of plots describing the MCMC results. This function is built upon GGally's plotting function ggpairs GGallyAntMAN.

Usage

AM_plot_pairs(x, tags = NULL, title = "MCMC Results")

Arguments

x

an AM_mcmc_output object, produced by calling AM_mcmc_fit.

tags

A list of variables to consider for plotting. This function only produces meaningful plots for variables that have fixed dimension across the draws. If not specified, plots pertaining to M and K will be produced.

title

Title for the plot.

Value

Same as ggpairs function, a ggmatrix object that if called, will print.