Description Usage Arguments Value Examples
View source: R/FlowStats_all.R
This function accepts a data frame of daily flow data and returns a data frame of calculated HIT/HAT statistics
1 2 | FlowStatsAll(data, drain_area,
stats = "magStat,flowStat,timStat,rateStat,otherStat,durStat")
|
data |
data frame of daily flow data |
drain_area |
drainage area for a given site |
stats |
list of requested stat groups |
Output data frame of calculated statistics
1 2 3 4 5 6 | drainage_url<-"http://waterservices.usgs.gov/nwis/site/?siteOutput=Expanded&site="
sites<-"02177000"
drain_url<-paste(drainage_url,sites,sep="")
drain_area<-getDrainageArea(drain_url)
qfiletempf<-sampleData
FlowStatsAll(qfiletempf,drain_area,"magStat,flowStat,durStat,timStat,rateStat,otherStat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.