fortify.network: Function for converting a network object into the correct...

Description Usage Arguments Examples

View source: R/fortify-net.R

Description

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

Usage

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

Arguments

model

object of class "network"

data

NULL - not used in this function

group

character. Used for facetting. If you wish to facet on a network variable provide the name of that variable here.

...

not used in this function

Examples

1
2
3
4
5
# class network (sna, network, statnet packages)

library(network)
data(emon, package = "network")
fortify(emon$Cheyenne)

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