Moved the plot function from each sub-class (intensitynetUnd, intensitynetDir, and intensitynetMix), to the main class (intensitynet).
Added match.arg to functions: intensitynet in 'grapg_type', PlotHeatmap in 'heat_type', NodeGeneralCorrelation in 'dep_type', and NodeLocalCorrelation in 'dep_type'.
Added summary function to the intensitynet object.
Now the functions 'NodeGeneralCorrelation' and 'NodeLocalCorrelation' check if the intensitynet object has related the events to the network.
Added function 'AreEventsRelated' to know if the intensitynet object related its events through the function 'RelateEventsToNetwork'.
Fixed class order when generating an intensitynet object through the function 'RelateEventsToNetwork' for each specific class ('IntensitynetUnd', 'IntensitynetDir', and 'IntensitynetMix').
Joined documentation to reduce the redundancy in the description of some methods.
Improved manual titles.
Changed warnings from the object intensitynet to errors (stop).
Added option to function 'PlotHeatmap' plot a heatmap based on marks.
Added a new argument 'net_edges' to the function 'PlotHeatmap'. Now the user can specify which nodes and edges want to plot.
Added option to function 'plot' to plot a path by giving its vertices using the new argument 'path'.
Changed function name 'ShortestPathIntensity' to 'ShortestPath'.
Added option to 'ShortestPath' to calculate the shortest path based on the given weight type with the new argument 'weight'.
Changed function name 'PathIntensity' to 'PathTotalWeight'
Now the function 'PathTotalWeight' gives the total specified weight for the given path (or the number of edges if no weight is specified).
Changed heatmap colors and increased edge and vertex size to visualize better the plots.
Added new functionality. Now the package can work with covariates (numerical, categorical, or both). Each edge in the graph provided by the intensitynet object contains all the information of its associated events.
Changed internal function name 'AllEdgeIntensities()' to 'EdgeIntensitiesAndProportions()' In order to adapt its meaning to the new functionalities.
Changed function name 'CalculateEventIntensities()' to 'RelateEventsToNetwork()'. In order to adapt its meaning to the new functionalities.
Greatly reduced the computational time to calculate event-related intensities with the function 'RelateEventsToNetwork()'.
Modified DESCRIPTION name references 'IntensityNet' to 'intensitynet' to match the package name.
Added option to select event the error distance. Now the user can determine the maximum distance from an event to an edge to be considered part of that edge.
Added an option to the plots ('plot' and 'PlotHeatmap' functions) to also plot the events. The events will be displayed as orange squares.
Fixed bug when using the 'plot()' function with intensitynet objects which showed properly the axis in a .pdf but not in a dynamic plot.