sampleAdj: Sample clusters from adjacence matrix

View source: R/sampleAdj.R

sampleAdjR Documentation

Sample clusters from adjacence matrix

Description

Desc

Usage

sampleAdj(
  adj,
  size = 5,
  n = 5,
  maxTry = 1000,
  starTopo = 1,
  type = 1,
  seed = -1
)

Arguments

adj

Adjazenzmatrix

size

Size of clusters (number of links)

n

Number of clusters

maxTry

numbers of random tries to establish clusters

starTopo

create star topology

type

If set to 0, n refers to number of edges, choose 1 for number of nodes

seed

if set to -1, no seed is used.


mknoll/dataAnalysisMisc documentation built on Nov. 17, 2024, 9:40 a.m.