SpatialNetwork: Class '"SpatialNetwork"'

Description Slots Objects from the Class See Also Examples

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


Search within the spnet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.