fortify.adjmat: Function for converting a network adjacency matrix into the...

Description Usage Arguments Examples

View source: R/fortify-net.R

Description

Function for converting a network adjacency matrix into the correct format for use with geomnet

Usage

1
2
## S3 method for class 'adjmat'
fortify(model, data = NULL, ...)

Arguments

model

An adjacency matrix of class "adjmat".

data

not used in this function

...

not used in this function

Examples

1
2
3
4
data(emon, package = "network")
adjmat <- as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
str(adjmat)
fortify(adjmat)

geomnet documentation built on Nov. 26, 2020, 5:07 p.m.