AM_plot_mvb_cluster_frequency {AntMAN}R Documentation

Visualise the cluster frequency plot for the multivariate bernoulli model

Description

Given an AM_mcmc_output object, and the data the model was fit on, this function will produce a cluster frequency plot for the multivariate bernoulli model.

Usage

AM_plot_mvb_cluster_frequency(
  fit,
  y,
  x_lim_param = c(0.8, 7.2),
  y_lim_param = c(0, 1)
)

Arguments

fit

An AM_mcmc_output fit object, produced by calling AM_mcmc_fit.

y

A matrix containing the y observations which produced fit.

x_lim_param

A vector with two elements describing the plot's x_axis scale, e.g. c(0.8, 7.2).

y_lim_param

A vector with two elements describing the plot's y_axis scale, e.g. c(0, 1).

Value

No return value. Called for side effects.


[Package AntMAN version 1.1.0 Index]