rvn_rvi_connections {RavenR} | R Documentation |
This routine reads in a hydrologic process list from rvn_rvi_read() and generates the list of hydrologic process connections.
rvn_rvi_connections( rvi, ProcConDataFile = system.file("extdata", "RavenProcessConnections.dat", package = "RavenR") )
rvi |
data object generated from the rvn_rvi_read() routine |
ProcConDataFile |
(optional) path to RavenProcesConnections.dat file |
This function relies on a valid and up-to-date RavenProcessConnections.dat file. This file is provided with the RavenR package, but may be overrided by a more recent file if provided manually.
Returns a dataframe of all of the process connections Includes the following data columns: process type, algorithm, 'from' compartment, 'to' compartment, and conditional.
James R. Craig, University of Waterloo
rvn_rvi_read
to read a .rvi file and generate an rvi object, and
rvn_rvi_process_plot
to plot the process network produced in this function.
See also the Raven page
rvi <- rvn_rvi_read(system.file("extdata","Nith.rvi", package="RavenR")) # get number of Hydrologic processes nrow(rvi$HydProcTable) conn <- rvn_rvi_connections(rvi) head(conn)