USGS-R / rloadest

USGS water science R functions for LOAD ESTimation of constituents in rivers and streams.
Other
20 stars 19 forks source link

Added flow.units to the object returned by loadReg #1

Closed appling closed 10 years ago

appling commented 10 years ago

conc.units and load.units are already returned within the loadReg object, but flow.units are not. Including flow.units would be very helpful in (1) sharing and interpreting loadReg objects, and (2) getting the units right when comparing the results of a loadReg call to the results of other load regression and estimation methods.

The change is simple. I've tried to think of any possible problems that could arise from this change, but I see none. And I have tested the S3 methods specific to the loadReg class on objects created with flow.units elements. As far as I can tell, all of these methods still run correctly.

appling commented 10 years ago

Great! Thanks.