seedLayout: A function to take an edglist and lay it out given a seed

Description Usage Arguments

View source: R/seedLayout.R

Description

A function to take an edglist and lay it out given a seed

Usage

1
2
seedLayout(edgelist, n, algorithm = "spring", layout.par = NULL,
  seed = 9384750, from = "from", to = "to")

Arguments

edgelist

data.frame Edgelist with "from" and "to" columns. Vertext names should be of the form "V1", "V2",...,"Vn".

n

int Total number of edges in the network

algorithm

char Algorithm from sna to use. See ?gplot.layout for options

layout.par

list List of layout parameters.

seed

int Seed to use for layout algorithm

from

char Name of the "from" column

to

char Name of the "to" column


sctyner/netvizinf documentation built on May 29, 2019, 4:20 p.m.