Learn R Programming

Rambo (version 1.1.1)

Regions: A simulated network with subgraphs and typed edges

Description

The Regions data is a simulated network generated according to the Random Subgraph Model. The network is directed with 30 nodes; Vertices are known to belong to 2 subgraphs. Edges of this network are typed, with 3 kinds of links.

Usage

data(Regions)

Arguments

Format

A list which contains the discrete adjacency matrix (X) of the network and a vector indicating the subgraph belongings of the nodes (sub).

References

Yacine Jernite, Pierre Latouche, Charles Bouveyron, Patrick Rivera, Laurent Jegou and Stephane Lamasse(2012), The Random Subgraph Model for the Analysis of an Ecclesiastical Network in Merovingian Gaul, http://arxiv.org/abs/1212.5497

Examples

Run this code
# NOT RUN {
data(Regions)
res <- rsm(Regions$X, Regions$sub, Klist=2:4, nbredo=1, maxit=5) 
plot(res)
# }

Run the code above in your browser using DataLab