GeoreferencedGgplot2.netTools {intensitynet} | R Documentation |
Plot heatmaps of a network
Description
This function uses internally the package 'ggplot2' to plot heatmaps of a network
Usage
## S3 method for class 'netTools'
GeoreferencedGgplot2(obj, ...)
Arguments
obj |
netTools object -> list( intnet: intensitynet object, data_df: dataframe( xcoord: x coordinates of the nodes, ycoord: y coordinates of the nodes, value: vector values to plot ), net_vertices: chosen vertices to plot the heatmap (or its related edges in case to plot the edge heatmap), net_edges chosen edges to plot the heatmap, can be either the edge id's or its node endpoints (e.j. c(1,2, 2,3, 7,8)), heat_type: data which the heatmap will refer, mode: ('moran', 'getis', 'v_intensity', 'e_intensity' or mark), show_events: boolean to show or not the events as orange squares, alpha optional argument to set the transparency of the events (show_events = TRUE). The range is from 0.1 (transparent) to 1 (opaque). Default: alpha = 1 ) |
... |
extra arguments for the ggplot |