Learn R Programming

AntMAN (version 1.1.0)

AM_demo_mvn_poi: Returns an example of AM_mcmc_fit output produced by the multivariate gaussian model

Description

This function allows us to generate a sample output of fitting the multivariate Gaussian model. No arguments are needed to be passed. The purpose of this function is to serve as a demo for users to understand the model's output, without diving too deep into details. By default, this demo generates a sample dataset of dimension 500x2, where the MCMC sampler is specified to run for 2000 iterations, with a burn-in of 1000, and a thinning interval of 10. All possible outputs that can be produced by AM_mcmc_fit are returned (see return value below).

Usage

AM_demo_mvn_poi()

Arguments

Value

A list containing the following items:

  • the vector (or matrix) containing the synthetic data used to fit the model.

  • the vector containing the final cluster assignment of each observation.

  • an AM_mcmc_output object, which is the typical output of AM_mcmc_fit.

Examples

Run this code
# NOT RUN {
 mvn_output <- AM_demo_mvn_poi()
# }

Run the code above in your browser using DataLab