layoutCircle: Produce a circle layout of any number of nodes.

Description Usage Arguments Value Author(s) Examples

Description

layoutCircle produces a circle layout of any number of nodes.

Usage

1
layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)

Arguments

N

a data frame of nodes.

nodes

a vector specifing nodes.

deg

degrees to rotate.

name

name of column with node names.

Value

This function returns the input data frame of nodes with the resulting layout applied.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

1
2
3
4
5

netCoin documentation built on Oct. 29, 2021, 1:06 a.m.