SimCluster: Simulates a cluster graph

View source: R/gener_data.R

SimClusterR Documentation

Simulates a cluster graph

Description

Simulates a cluster graph

Usage

SimCluster(p, k, dens, r)

Arguments

p

number of nodes

k

number of groups in the cluster

dens

graph density

r

within/between ratio connection probability

Value

the adjacency matrix of size p x p

Examples

SimCluster(10,2,0.5, 10)

Rmomal/EMtree documentation built on Dec. 14, 2024, 8:16 a.m.