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

layoutCircleR Documentation

Produce a circle layout of any number of nodes.

Description

layoutCircle produces a circle layout of any number of nodes.

Usage

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

A <- data.frame(name=letters)

L <- layoutCircle(A,name="name")

netCoin(A,layout=L)

netCoin documentation built on Oct. 18, 2024, 5:10 p.m.