powered by
Imports data from a user-supplied file, and converts it to a Daily data frame, appropriate for WRTDS calculations.
readUserDaily(filePath, fileName, hasHeader = TRUE, separator = ",", qUnit = 1, verbose = TRUE, interactive = NULL)
character specifying the path to the file
character name of file to open
logical true if the first row of data is the column headers
character character that separates data cells
number 1 is cubic feet per second, 2 is cubic meters per second, 3 is 10^3 cubic feet per second, and 4 is 10^3 cubic meters per second
logical specifying whether or not to display progress message
logical deprecated. Use 'verbose' instead
A data frame 'Daily' with the following columns:
# NOT RUN { filePath <- system.file("extdata", package="EGRET") fileName <- "ChoptankRiverFlow.txt" Daily <- readUserDaily(filePath,fileName,separator="\t") # }
Run the code above in your browser using DataLab