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

Description Usage Arguments Examples

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
5
library(ggCompNet)
data(emon, package = "network")
adjmat <- geomnet::as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
str(adjmat)
ggCompNet:::fortify.adjmat(adjmat)

sctyner/ggCompNet documentation built on May 29, 2019, 4:19 p.m.