Learn R Programming

geomnet (version 0.3.1)

fortify.adjmat: Function for converting a network adjacency matrix into the correct format for use with geomnet

Description

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

Usage

# S3 method for 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

Run this code
# NOT RUN {
data(emon, package = "network")
adjmat <- as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
str(adjmat)
fortify(adjmat)
# }

Run the code above in your browser using DataLab