links: Function that returns the shared MPMMS (except with an easier...

View source: R/analyzeGibbs.R

linksR Documentation

Function that returns the shared MPMMS (except with an easier condition to code than JASA paper). Function to make a list of vectors of estimated links by "P(MPMMS)>0.5" method Note: The default settings return only MPMMSs with multiple members.

Description

Function that returns the shared MPMMS (except with an easier condition to code than JASA paper). Function to make a list of vectors of estimated links by "P(MPMMS)>0.5" method Note: The default settings return only MPMMSs with multiple members.

Usage

links(lam.gs = lam.gs, include.singles = FALSE, show.as.multiple = FALSE)

Arguments

lam.gs

The estimated linkage structure with a default of 10 iterations

include.singles

Do not include the singleton records

show.as.multiple

Always return MPMMSs that have more than one member

Value

Returns the shared MPMMS

Examples

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)
links(lam.gs)

cleanzr/blink documentation built on Jan. 13, 2024, 2:33 a.m.