Description Slots Objects from the Class See Also Examples
Allow to store spatial networks, especially for rendering them
.Dataobject of class "list"
mapobject of class "SpatialPolygons"
networksobject of class "list"
plot.titleobject of class "list"
plot.labelobject of class "list"
plot.colorobject of class "list"
plot.blackwhiteobject of class "list"
plot.symbolobject of class "list"
plot.arrowobject of class "list"
plot.barplotobject of class "list"
plot.legendobject of class "list"
plot.layoutobject of class "list"
plot.parobject of class "list"
infosobject of class "list"
metaobject of class "list"
warningsobject of class "list"
namesobject of class "character"
row.namesobject of class "data.frameRowLabels"
.S3Classobject of class "character"
Objects can be created with the spnet function (official class builder).
Other res: graph.map.plot.position,
graph.map.plot.position,SpatialNetwork-method,
graph.map.plot.position,SpatialPolygons-method
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
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.