manet: Multiple allocation clustering of actor-event networks

Description Usage Arguments Value Examples

View source: R/manet.R

Description

This function infers K multiple allocation cluster for actor-event network data.

Usage

1
manet(y, K = 2, maxT = 5000, seed = 1, link = "min", verbose = FALSE)

Arguments

y

A n x d actor-event adjacency matrix, whereby y_ij is 1 if actor i attended event j – 0 otherwise.

K

Number of multiple clusters. Default is set to 2.

maxT

Number of MCMC iterations. Default is set to 5000.

seed

Random seed. Default is 1.

link

Method to combine the parameters of the parent clusters into the parameter for the heir cluster. Default is "min". The alternative is "max".

verbose

Set to TRUE if you want to see the steps of the MCMC iterations. Defaults is FALSE.

Value

A manet object consisting of a list with five outputs:

Examples

1
2
3
4
data(deepsouth)
ds<-manet(deepsouth,K=2,maxT=100)
plot(ds)
summary(ds)

manet documentation built on May 2, 2019, 2:31 a.m.

Related to manet in manet...