Running examples in ‘RiverLoad-Ex.R’ failed
The error most likely occurred in:

> ### Name: CQregression
> ### Title: Relationship between concentration and flow
> ### Aliases: CQregression
> ### Keywords: regression
> 
> ### ** Examples
> 
> data("flow.data1","conc.data1")
> union<-db.union(flow.data1, conc.data1)
> reg.relationship<-CQregression(union, 2)
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 
  0 (non-NA) cases
Calls: CQregression -> lm -> lm.fit
Execution halted
Running examples in ‘RiverLoad-Ex.R’ failed
The error most likely occurred in:

> ### Name: CQregression
> ### Title: Relationship between concentration and flow
> ### Aliases: CQregression
> ### Keywords: regression
> 
> ### ** Examples
> 
> data("flow.data1","conc.data1")
> union<-db.union(flow.data1, conc.data1)
> reg.relationship<-CQregression(union, 2)
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 
  0 (non-NA) cases
Calls: CQregression -> lm -> lm.fit
Execution halted
Running examples in ‘RiverLoad-Ex.R’ failed
The error most likely occurred in:

> ### Name: method4
> ### Title: Load estimation with time-weighted concentration method
> ### Aliases: method4
> ### Keywords: univ
> 
> ### ** Examples
> 
> data("flow.data1", "conc.data1")
> union<-db.union(flow.data1, conc.data1)
> met4<-method4(union, 2)
> met4.month<-method4(union, 2, "month")
Error in x[[jj]][iseq] <- vjj : replacement has length zero
Calls: method4 -> [<- -> [<-.data.frame
Execution halted
Running examples in ‘RiverLoad-Ex.R’ failed
The error most likely occurred in:

> ### Name: method4
> ### Title: Load estimation with time-weighted concentration method
> ### Aliases: method4
> ### Keywords: univ
> 
> ### ** Examples
> 
> data("flow.data1", "conc.data1")
> union<-db.union(flow.data1, conc.data1)
> met4<-method4(union, 2)
> met4.month<-method4(union, 2, "month")
Error in x[[jj]][iseq] <- vjj : replacement has length zero
Calls: method4 -> [<- -> [<-.data.frame
Execution halted