Skip to content

Commit

Permalink
Fixes DOI-USGS#67
Browse files Browse the repository at this point in the history
  • Loading branch information
ldecicco-USGS committed Dec 2, 2015
1 parent c675c7f commit cee5b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/printSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ printSeries<-function(eList, istat, qUnit = 1, runoff = FALSE) {
qSmooth<-if(runoff) qSmooth*86.4/localINFO$drainSqKm else qSmooth*qFactor
toPrint<-data.frame(years,qActual,qSmooth)
toPrint<-subset(toPrint,!is.na(years))
toPrint$years<-format(toPrint$years,digits=4,width=7)
toPrint$years<-format(floor(0.5+toPrint$years),digits=4,width=7)
toPrint$qActual<-format(toPrint$qActual,digits=3,width=8)
toPrint$qSmooth<-format(toPrint$qSmooth,digits=3,width=8)
write.table(toPrint,file="",col.names=FALSE,row.names=FALSE,quote=FALSE)
Expand Down

0 comments on commit cee5b87

Please sign in to comment.