View source: R/deletePrjHRUs.R
deletePrjHRUs | R Documentation |
Deletes names and parameter values for the specified set of HRUs. Note
that this function is very destructive, so it's a good idea to have a backup copy
of your .prj
file before running it!
deletePrjHRUs(
inputPrjFile = NULL,
deletedHRUs = NULL,
outputPrjFile = NULL,
quiet = TRUE,
logfile = ""
)
inputPrjFile |
Required. Name of the |
deletedHRUs |
Required. Vector of HRU numbers to delete. |
outputPrjFile |
Optional. If omitted, the input |
quiet |
Optional. Suppresses display of messages, except for errors. If you are calling
this function in an R script, you will usually leave |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used |
If successful, returns TRUE
. If unsuccessful, returns FALSE
.
Currently, this function has only been tested on simple .prj
files, i.e.
without REW Grp parameters.
Kevin Shook
replacePrjParameters
## Not run:
result <- deletePrjParameters("CRHM/Bad74_Frozen.prj", c(3, 5, 7)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.