Intensity Analysis of Spatial Point Patterns on Complex Networks


[Up] [Top]

Documentation for package ‘intensitynet’ version 1.3.1

Help Pages

ApplyWindow Get the intensitynet object delimited by the given window
ApplyWindow.intensitynet Get the intensitynet object delimited by the given window
CalculateDistancesMtx.netTools Calculates the distances between all pairs of nodes from the given network
dir_intnet_chicago This data is an intensitynet object containing a directed network. The base data used is from Chicago, extracted from the spatstat package.
EdgeIntensitiesAndProportions.intensitynet Calculate all the edge intensities of the graph. It's more fast than using iteratively the function EdgeIntensity for all edges.
EdgeIntensity.intensitynet If not calculated, calculates the intensity of the edge with nodes; node_id1, node_id2. If the edge already contains an intensity, give it directly.
GeoreferencedGgplot2.netTools This function uses 'ggplot' to plot heatmaps of a network
GeoreferencedPlot.netTools Plot the given network using its node coordinates
InitGraph.netTools Creates an igraph network with the given data
intensitynet Constructor of the class intensitynet. In order to create an intensitynet object, it is needed; an adjacency matrix, the coordinates of the nodes and the coordinates of the events.
MeanNodeIntensity.intensitynetDir Given a node, calculates its mean intensities regarding in and out edges associated with the node.
MeanNodeIntensity.intensitynetMix Given a node, calculates its mean intensities depending on the edges associated with the node, those intensities are: in, out (for directed edges), undirected and total intensity.
MeanNodeIntensity.intensitynetUnd Calculates the mean intensity of the given node (intensity of all the edges of the node/number of edges of the node)
mix_intnet_chicago This data is an intensitynet object containing an mixed network. The base data used is from Chicago, extracted from the spatstat package.
NodeGeneralCorrelation It allows to compute different dependence statistics on the network for the given vector and for neighborhoods of distinct order. Such statistics are; correlation, covariance, Moran’s I and Geary’s C.
NodeGeneralCorrelation.intensitynet It allows to compute different dependence statistics on the network for the given vector and for neighborhoods of distinct order. Such statistics are; correlation, covariance, Moran’s I and Geary’s C.
nodeIntensity.intensitynetDir Given a node, calculates its mean intensities regarding in and out edges associated with the node.
nodeIntensity.intensitynetMix Given a node, calculates its mean intensities depending on the edges associated with the node, those intensities are: in, out (for directed edges), undirected and total intensity.
nodeIntensity.intensitynetUnd Calculates the mean intensity of the given node (intensity of all the edges of the node/number of edges of the node)
NodeLocalCorrelation Gives the node local Moran-I, Getis-Gstar or Geary-c correlations
NodeLocalCorrelation.intensitynet Gives the node local Moran-I, Getis-Gstar or Geary-c correlations
PathTotalWeight Calculates the total weight of the given path
PathTotalWeight.intensitynet Calculates the total weight of the given path
plot.intensitynetDir Plot intensitynet object
plot.intensitynetMix Plot intensitynet object
plot.intensitynetUnd Plot intensitynet object
PlotHeatmap Plot the network correlations or intensities.
PlotHeatmap.intensitynet Plot the network correlations or intensities.
PlotNeighborhood Plot the net and the events in the neighborhood area of the given node
PlotNeighborhood.intensitynet Plot the net and the events in the neighborhood area of the given node
PointToLine.netTools Return the distance between an event and the line (not segment) formed by two nodes.
PointToSegment Return the shortest distance between an event and a set of segments.
PointToSegment.netTools Return the shortest distance between an event and a set of segments.
PointToSegment_deprecated Return the shortest distance between an event and the segment formed by two nodes.
PointToSegment_deprecated.netTools Return the shortest distance between an event and the segment formed by two nodes.
RelateEventsToNetwork Calculates edgewise and mean nodewise intensities for the given intensitynet object and, for each edge, the proportions of all event covariates.
RelateEventsToNetwork.intensitynetDir Calculates edgewise and mean nodewise intensities for Directed networks and, for each edge, the proportions of all event covariates.
RelateEventsToNetwork.intensitynetMix Calculates edgewise and mean nodewise intensities for Mixed networks and, for each edge, the proportions of all event covariates.
RelateEventsToNetwork.intensitynetUnd Calculates edgewise and mean nodewise intensities for for Undirected networks and, for each edge, the proportions of all event covariates.
SetEdgeIntensity.netTools Sets the given intensities as an edge attribute to the given igraph network
SetNetCoords.netTools Creates an igraph network with the given data
SetNetworkAttribute.intensitynet Set attributes to the network edges or nodes
SetNodeIntensity.netTools Sets the given intensities as a node attribute to the given igraph network
ShortestNodeDistance.intensitynet Calculates the shortest distance path between two nodes (based on the minimum amount of edges). The function also returns the total weight of the path, if the weight is not available, returns the number of edges.
ShortestPath Calculates the shortest path between two vertices (based on the minimum amount of edges) and calculates its total weight
ShortestPath.intensitynet Calculates the shortest path between two vertices (based on the minimum amount of edges) and calculates its total weight
Undirected2RandomDirectedAdjMtx.netTools Creates a directed adjacency matrix from an Undirected one with random directions (in-out edges) but with the same connections between nodes.
und_intnet_chicago This data is an intensitynet object containing an undirected network. The base data used is from Chicago, extracted from the spatstat package.