mpmms: Function to compute a record's MPMMS based on a Gibbs...

Description Usage Arguments Value Examples

View source: R/analyzeGibbs.R

Description

Function to compute a record's MPMMS based on a Gibbs sampler. Note: It returns a list of the MPMMS ($mpmms) and its probability ($prob)

Usage

1
mpmms(lam.gs, record)

Arguments

lam.gs

The gibbs sampler

record

A specific record

Value

Returns a list of the MPMSS and the associated probabilities.

Examples

1
2
3
lam.gs <- matrix(c(1,1,2,2,3,3,5,6,4,3,4,5,3,2,4,1,2,3,4,2),ncol=20,  nrow=4)
record <- c(1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3)
mpmms(lam.gs=lam.gs, record=record)

resteorts/blink documentation built on Oct. 1, 2020, 6:07 p.m.