Closed jsta closed 4 years ago
Running this simple predConc example code yields an error for me:
predConc
library(rloadest) data(app1.calib) app1.lr <- loadReg(Phosphorus ~ model(1), data = app1.calib, flow = "FLOW", dates = "DATES", conc.units="mg/L", station="Illinois River at Marseilles, Ill.") predConc(app1.lr, app1.calib)
Error in match.arg("by", ByOpt) : 'arg' should be one of “unit”, “day”
I think this is caused by a typo in predConc.R where: match.arg('by', ByOpt) should be match.arg(by, ByOpt)
predConc.R
match.arg('by', ByOpt)
match.arg(by, ByOpt)
Fixed in #34
Running this simple
predConc
example code yields an error for me:I think this is caused by a typo in
predConc.R
where:match.arg('by', ByOpt)
should bematch.arg(by, ByOpt)