View source: R/readPrjMatrix.R
readPrjMatrix | R Documentation |
This function reads numeric parameter values which are in a square matrix where the number of rows and columns are equal to the number of HRUs.
readPrjMatrix(prjFile = "", paramName = "", logfile = "")
prjFile |
Required. Name of .prj file. |
paramName |
Required. Name of parameter to be read. |
logfile |
logfile Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns the parameter values as a matrix, with column and row names of the HRU names. If unsuccessful, returns FALSE
.
Kevin Shook
readPrjParameters
setPrjMatrix
## Not run:
# read in as a matrix
infile <- "Cluster1_PTH_100km2_WFDEI-GEM_new_watershed10_50%_IN.prj"
variables <- readPrjMatrix(infile, "distrib_Route")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.