spnet: Plotting (Social) Networks on Maps

Facilitates the rendering of networks for which nodes have a specific position on a map (cities, participants in a political debate, etc.). Map data and network data are stored together in a single object which handles the match between network nodes and their respective position on the map. The plot method renders both the map and the network data. Several networks can be plot simultaneously. The graphic is highly customisable and the legend is automatically printed. Map data have to be supplied as 'SpatialPolygons' objects (from the 'sp' package) and network data as 'named matrix'.

Author
Emmanuel Rousseaux, Marion Deville, Gilbert Ritschard
Date of publication
2016-02-22 10:58:20
Maintainer
Emmanuel Rousseaux <emmanuel.rousseaux@unige.ch>
License
GPL-3
Version
0.9.1-0
URLs

View on R-Forge

Man pages

color2blackwhite
Convert colors to contrasted gray level for black and white...
extract-methods
Extract or replace parts of a SpatialNetwork object
graph.barplot.bgcolor
Get the barplot background color of a 'SpatialNetwork' object
graph.barplot.bgcolor-set
Set the barplot background color of a 'SpatialNetwork' object
graph.barplot.bound.lower
Get the barplot lower bound position of a 'SpatialNetwork'...
graph.barplot.bound.lower-set
Set the barplot lower bound position of a 'SpatialNetwork'...
graph.barplot.bound.upper
Get the barplot upper bound position of a 'SpatialNetwork'...
graph.barplot.bound.upper-set
Set the barplot upper bound position of a 'SpatialNetwork'...
graph.barplot.fgcolor
Get the barplot foreground color of a 'SpatialNetwork' object
graph.barplot.fgcolor-set
Set the barplot foreground color of a 'SpatialNetwork' object
graph.barplot.list
Get the list of all barplot parameters of a 'SpatialNetwork'...
graph.barplot.list-set
Set the list of all barplot parameters of a 'SpatialNetwork'...
graph.barplot.variable
Get the barplot variable of a 'SpatialNetwork' object
graph.barplot.variable-set
Set the barplot variable of a 'SpatialNetwork' object
graph.barplot.width
Get the barplot width of a 'SpatialNetwork' object
graph.barplot.width-set
Set the barplot width of a 'SpatialNetwork' object
graph.blackwhite.enable
Get the black and white mode status of a 'SpatialNetwork'...
graph.blackwhite.enable-set
Set the black and white mode status of a 'SpatialNetwork'...
graph.blackwhite.list
Get the list of all black and white mode parameters of a...
graph.blackwhite.list-set
Set the list of all black and white mode parameters of a...
graph.blackwhite.max
Get the black and white mode maximal gray value of a...
graph.blackwhite.max-set
Set the black and white mode maximal gray value of a...
graph.blackwhite.min
Get the black and white mode minimal gray value of a...
graph.blackwhite.min-set
Set the black and white mode minimal gray value of a...
graph.color.background
Get the background color of a 'SpatialNetwork' object
graph.color.background-set
Set the background color of a 'SpatialNetwork' object
graph.color.border
Get the border color of a 'SpatialNetwork' object
graph.color.border-set
Set the border color of a 'SpatialNetwork' object
graph.color.legend
Get the color legend of a 'SpatialNetwork' object
graph.color.legend-set
Set the color legend of a 'SpatialNetwork' object
graph.color.list
Get the list of all color parameters of a 'SpatialNetwork'...
graph.color.list-set
Set the list of all color parameters of a 'SpatialNetwork'...
graph.color.node
Get the default color of a node of a 'SpatialNetwork' object
graph.color.node-set
Set the default color of a node of a 'SpatialNetwork' object
graph.color.region
Get the default color of a region of a 'SpatialNetwork'...
graph.color.region-set
Set the default color of a region of a 'SpatialNetwork'...
graph.color.variable
Get the color variable of a 'SpatialNetwork' object
graph.color.variable-set
Set the color variable of a 'SpatialNetwork' object
graph.label.cex
Get the label cex of a 'SpatialNetwork' object
graph.label.cex-set
Set the label cex of a 'SpatialNetwork' object
graph.label.color
Get the label color of a 'SpatialNetwork' object
graph.label.color-set
Set the label color of a 'SpatialNetwork' object
graph.label.list
Get the list of all label parameters of a 'SpatialNetwork'...
graph.label.list-set
Set the list of all label parameters of a 'SpatialNetwork'...
graph.label.variable
Get the label variable of a 'SpatialNetwork' object
graph.label.variable-set
Set the label variable of a 'SpatialNetwork' object
graph.layout.list
Get the list of all layout parameters of a 'SpatialNetwork'...
graph.layout.list-set
Set the list of all layout parameters of a 'SpatialNetwork'...
graph.legend.cex
Get the legend cex parameter of a 'SpatialNetwork' object
graph.legend.cex-set
Set the legend cex parameter of a 'SpatialNetwork' object
graph.legend.horiz
Get the legend horizontal or vertical setting of a...
graph.legend.horiz-set
Set the legend horizontal or vertical setting of a...
graph.legend.line.width
Get the legend line width parameter of a 'SpatialNetwork'...
graph.legend.line.width-set
Set the legend line width parameter of a 'SpatialNetwork'...
graph.legend.list
Get the list of all legend parameters of a 'SpatialNetwork'...
graph.legend.list-set
Set the list of all legend parameters of a 'SpatialNetwork'...
graph.legend.ncol
Get the legend number of columns of a 'SpatialNetwork' object
graph.legend.ncol-set
Set the legend number of columns of a 'SpatialNetwork' object
graph.legend.print
Get the legend print (yes/no) status of a 'SpatialNetwork'...
graph.legend.print-set
Set the legend print (yes/no) status of a 'SpatialNetwork'...
graph.map
Get the map to a 'SpatialNetwork' object
graph.map.plot.position
Plot a map labelled with the ID numbering
graph.map-set
Set the map to a 'SpatialNetwork' object
graph.network.arrow.color
Get the arrow color of a given network of a 'SpatialNetwork'...
graph.network.arrow.color-set
Set the arrow color of a given network of a 'SpatialNetwork'...
graph.network.arrow.head.lth
Get the arrow head length of a given network of a...
graph.network.arrow.head.lth-set
Set the arrow head length of a given network of a...
graph.network.arrow.head.type
Get the arrow head type of a given network of a...
graph.network.arrow.head.type-set
Set the arrow head type of a given network of a...
graph.network.arrow.line.type
Get the arrow line type of a given network of a...
graph.network.arrow.line.type-set
Set the arrow line type of a given network of a...
graph.network.arrow.opacity
Get the arrow opacity of a given network of a...
graph.network.arrow.opacity-set
Set the arrow opacity of a given network of a...
graph.network.arrow.shift.x
Get the arrow shift on the x axis of a given network of a...
graph.network.arrow.shift.x-set
Set the arrow shift on the x axis of a given network of a...
graph.network.arrow.shift.y
Get the arrow shift on the y axis of a given network of a...
graph.network.arrow.shift.y-set
Set the arrow shift on the y axis of a given network of a...
graph.network.arrow.shorten
Get the arrow shortening of a given network of a...
graph.network.arrow.shorten-set
Set the arrow shortening of a given network of a...
graph.network.arrow.thickness
Get the arrow thickness of a given network of a...
graph.network.arrow.thickness-set
Set the arrow thickness of a given network of a...
graph.network.data
Get the data of a given network of a 'SpatialNetwork' object
graph.network.data-set
Set the data of a given network of a 'SpatialNetwork' object
graph.network.exists
Test if a network exist
graph.network.label
Get the label of a given network of a 'SpatialNetwork' object
graph.network.label-set
Set the label of a given network of a 'SpatialNetwork' object
graph.network.list
Get the list of all parameters of a given network of a...
graph.network.list-set
Set the list of all parameters of a given network of a...
graph.networks.add-set
Add a network
graph.networks.list
Get the list of all networks parameters of a 'SpatialNetwork'...
graph.networks.list-set
Set the list of all networks parameters of a 'SpatialNetwork'...
graph.networks.remove-set
Remove a network
graph.par.list
Get the list of all par parameters of a 'SpatialNetwork'...
graph.par.list-set
Set the list of all par parameters of a 'SpatialNetwork'...
graph.symbol.cex
Get the symbol cex parameter of a 'SpatialNetwork' object
graph.symbol.cex-set
Set the symbol cex parameter of a 'SpatialNetwork' object
graph.symbol.color
Get the symbol color of a 'SpatialNetwork' object
graph.symbol.color-set
Set the symbol color of a 'SpatialNetwork' object
graph.symbol.legend
Get the symbol legend of a 'SpatialNetwork' object
graph.symbol.legend-set
Set the symbol legend of a 'SpatialNetwork' object
graph.symbol.list
Get the list of all symbol parameters of a 'SpatialNetwork'...
graph.symbol.list-set
Set the list of all symbol parameters of a 'SpatialNetwork'...
graph.symbol.shift.x
Get the symbol shift on the x axis of a 'SpatialNetwork'...
graph.symbol.shift.x-set
Set the symbol shift on the x axis of a 'SpatialNetwork'...
graph.symbol.shift.y
Get the symbol shift on the y axis of a 'SpatialNetwork'...
graph.symbol.shift.y-set
Set the symbol shift on the y axis of a 'SpatialNetwork'...
graph.symbol.variable
Get the symbol variable of a 'SpatialNetwork' object
graph.symbol.variable-set
Set the symbol variable of a 'SpatialNetwork' object
graph.title.list
Get the list of all title parameters of a 'SpatialNetwork'...
graph.title.list-set
Set the list of all title parameters of a 'SpatialNetwork'...
graph.title.main
Get the main title of a 'SpatialNetwork' object
graph.title.main-set
Set the main title of a 'SpatialNetwork' object
graph.title.sub
Get the sub title of a 'SpatialNetwork' object
graph.title.sub-set
Set the sub title of a 'SpatialNetwork' object
SpatialNetwork
Class '"SpatialNetwork"'
spnet
Plotting social networks on maps
spnet.create
Create a 'SpatialNetwork' object
spnet.example.basic
Spnet basic examples
spnet.get.local.user.manual
Get the local copy of the spnet user manual
world.map.simplified
The TM_WORLD_BORDERS_SIMPL-0.3 world map.

Files in this package

spnet/DESCRIPTION
spnet/NAMESPACE
spnet/R
spnet/R/SpatialNetwork.r
spnet/R/lines.barplot.r
spnet/R/plot.position.r
spnet/R/spnet.example.basic.r
spnet/R/spnet.r
spnet/R/tools.global.r
spnet/R/tools.nary.r
spnet/R/world.map.simplified.r
spnet/R/zzz.r
spnet/data
spnet/data/world.map.simplified.rda
spnet/inst
spnet/inst/CITATION
spnet/inst/doc
spnet/inst/doc/spnet-overview.pdf
spnet/man
spnet/man/SpatialNetwork.Rd
spnet/man/color2blackwhite.Rd
spnet/man/extract-methods.Rd
spnet/man/graph.barplot.bgcolor-set.Rd
spnet/man/graph.barplot.bgcolor.Rd
spnet/man/graph.barplot.bound.lower-set.Rd
spnet/man/graph.barplot.bound.lower.Rd
spnet/man/graph.barplot.bound.upper-set.Rd
spnet/man/graph.barplot.bound.upper.Rd
spnet/man/graph.barplot.fgcolor-set.Rd
spnet/man/graph.barplot.fgcolor.Rd
spnet/man/graph.barplot.list-set.Rd
spnet/man/graph.barplot.list.Rd
spnet/man/graph.barplot.variable-set.Rd
spnet/man/graph.barplot.variable.Rd
spnet/man/graph.barplot.width-set.Rd
spnet/man/graph.barplot.width.Rd
spnet/man/graph.blackwhite.enable-set.Rd
spnet/man/graph.blackwhite.enable.Rd
spnet/man/graph.blackwhite.list-set.Rd
spnet/man/graph.blackwhite.list.Rd
spnet/man/graph.blackwhite.max-set.Rd
spnet/man/graph.blackwhite.max.Rd
spnet/man/graph.blackwhite.min-set.Rd
spnet/man/graph.blackwhite.min.Rd
spnet/man/graph.color.background-set.Rd
spnet/man/graph.color.background.Rd
spnet/man/graph.color.border-set.Rd
spnet/man/graph.color.border.Rd
spnet/man/graph.color.legend-set.Rd
spnet/man/graph.color.legend.Rd
spnet/man/graph.color.list-set.Rd
spnet/man/graph.color.list.Rd
spnet/man/graph.color.node-set.Rd
spnet/man/graph.color.node.Rd
spnet/man/graph.color.region-set.Rd
spnet/man/graph.color.region.Rd
spnet/man/graph.color.variable-set.Rd
spnet/man/graph.color.variable.Rd
spnet/man/graph.label.cex-set.Rd
spnet/man/graph.label.cex.Rd
spnet/man/graph.label.color-set.Rd
spnet/man/graph.label.color.Rd
spnet/man/graph.label.list-set.Rd
spnet/man/graph.label.list.Rd
spnet/man/graph.label.variable-set.Rd
spnet/man/graph.label.variable.Rd
spnet/man/graph.layout.list-set.Rd
spnet/man/graph.layout.list.Rd
spnet/man/graph.legend.cex-set.Rd
spnet/man/graph.legend.cex.Rd
spnet/man/graph.legend.horiz-set.Rd
spnet/man/graph.legend.horiz.Rd
spnet/man/graph.legend.line.width-set.Rd
spnet/man/graph.legend.line.width.Rd
spnet/man/graph.legend.list-set.Rd
spnet/man/graph.legend.list.Rd
spnet/man/graph.legend.ncol-set.Rd
spnet/man/graph.legend.ncol.Rd
spnet/man/graph.legend.print-set.Rd
spnet/man/graph.legend.print.Rd
spnet/man/graph.map-set.Rd
spnet/man/graph.map.Rd
spnet/man/graph.map.plot.position.Rd
spnet/man/graph.network.arrow.color-set.Rd
spnet/man/graph.network.arrow.color.Rd
spnet/man/graph.network.arrow.head.lth-set.Rd
spnet/man/graph.network.arrow.head.lth.Rd
spnet/man/graph.network.arrow.head.type-set.Rd
spnet/man/graph.network.arrow.head.type.Rd
spnet/man/graph.network.arrow.line.type-set.Rd
spnet/man/graph.network.arrow.line.type.Rd
spnet/man/graph.network.arrow.opacity-set.Rd
spnet/man/graph.network.arrow.opacity.Rd
spnet/man/graph.network.arrow.shift.x-set.Rd
spnet/man/graph.network.arrow.shift.x.Rd
spnet/man/graph.network.arrow.shift.y-set.Rd
spnet/man/graph.network.arrow.shift.y.Rd
spnet/man/graph.network.arrow.shorten-set.Rd
spnet/man/graph.network.arrow.shorten.Rd
spnet/man/graph.network.arrow.thickness-set.Rd
spnet/man/graph.network.arrow.thickness.Rd
spnet/man/graph.network.data-set.Rd
spnet/man/graph.network.data.Rd
spnet/man/graph.network.exists.Rd
spnet/man/graph.network.label-set.Rd
spnet/man/graph.network.label.Rd
spnet/man/graph.network.list-set.Rd
spnet/man/graph.network.list.Rd
spnet/man/graph.networks.add-set.Rd
spnet/man/graph.networks.list-set.Rd
spnet/man/graph.networks.list.Rd
spnet/man/graph.networks.remove-set.Rd
spnet/man/graph.par.list-set.Rd
spnet/man/graph.par.list.Rd
spnet/man/graph.symbol.cex-set.Rd
spnet/man/graph.symbol.cex.Rd
spnet/man/graph.symbol.color-set.Rd
spnet/man/graph.symbol.color.Rd
spnet/man/graph.symbol.legend-set.Rd
spnet/man/graph.symbol.legend.Rd
spnet/man/graph.symbol.list-set.Rd
spnet/man/graph.symbol.list.Rd
spnet/man/graph.symbol.shift.x-set.Rd
spnet/man/graph.symbol.shift.x.Rd
spnet/man/graph.symbol.shift.y-set.Rd
spnet/man/graph.symbol.shift.y.Rd
spnet/man/graph.symbol.variable-set.Rd
spnet/man/graph.symbol.variable.Rd
spnet/man/graph.title.list-set.Rd
spnet/man/graph.title.list.Rd
spnet/man/graph.title.main-set.Rd
spnet/man/graph.title.main.Rd
spnet/man/graph.title.sub-set.Rd
spnet/man/graph.title.sub.Rd
spnet/man/spnet.Rd
spnet/man/spnet.create.Rd
spnet/man/spnet.example.basic.Rd
spnet/man/spnet.get.local.user.manual.Rd
spnet/man/world.map.simplified.Rd