View source: R/readDebugFile.R
readDebugFile | R Documentation |
Reads in CRHM debug file
readDebugFile(debugFile = "", returnData = "all")
debugFile |
Required. CRHM debug file name. |
returnData |
Optional. The data to be returned. If all (the default) then all sections will be returned as a list of data frames. Other options are header, initalconditions, finalconditions, basinsummary, and groupsummary. Note that if groupsummary is specified, and there are no groups, then an error will result. |
If successful, returns a list of data frames, or a single specified
data frame. If unsuccessful, returns FALSE
.
## Not run:
allDebug <- readDebug("07-08_debug.txt")
# show header
View(allDebug$header)
# show group summary
View(allDebug$groupSummary)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.