Class "SpatialNetwork"

Description

Allow to store spatial networks, especially for rendering them

Slots

.Data

object of class "list"

map

object of class "SpatialPolygons"

networks

object of class "list"

plot.title

object of class "list"

plot.label

object of class "list"

plot.color

object of class "list"

plot.blackwhite

object of class "list"

plot.symbol

object of class "list"

plot.arrow

object of class "list"

plot.barplot

object of class "list"

plot.legend

object of class "list"

plot.layout

object of class "list"

plot.par

object of class "list"

infos

object of class "list"

meta

object of class "list"

warnings

object of class "list"

names

object of class "character"

row.names

object of class "data.frameRowLabels"

.S3Class

object of class "character"

Objects from the Class

Objects can be created with the spnet function (official class builder).

See Also

Other res: graph.map.plot.position, graph.map.plot.position,SpatialNetwork-method, graph.map.plot.position,SpatialPolygons-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
people <- c("John", "Elsa", "Brian", "Kate")
position <- c(2,4,6,8)

net1.df <- data.frame(
  'NODE' = people,
  'POSITION' = position
)

net1 <- spnet.create(
  x = net1.df
)
net1

net2 <- spnet.create(
  x = people
)
net2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.