View source: R/readPrjOutputVariables.R
readPrjOutputVariables | R Documentation |
.prj
fileReads output variables from a CRHM model .prj
file
readPrjOutputVariables(prjFile, asDataframe = FALSE, logfile = "")
prjFile |
Required. Name of CRHM .prj file to read. |
asDataframe |
Optional. If |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns the output variables. If unsuccessful, returns FALSE
.
Kevin Shook
setPrjOutputVariables
## Not run:
# read in as a vector
variables <- readPrjOutputVariables('Bad_Lake_1974-1975.prj')
# read in as a data frame
variables <- readPrjOutputVariables('Bad_Lake_1974-1975.prj', asDataframe=TRUE)
# change value
variables$HRUs[1] <- '1 2'
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.