Still get an error message (below) even when the excel sheet being read in only has one site's (ANTI-101-S-2015) worth of data. All other command lines work up until I request results.
Error in model.frame.default(formula = data.calc[, name.DisCell] ~ data.calc[, :
invalid type (list) for variable 'data.calc[, name.DisCell]'
If I do it with two sites worth (ANTI-101-S and ANTI-101-X) I get the same error message as before multiple zero values per channel.
Error in try(if (sum(tbl.zero$Freq) != nrow(tbl.zero)) stop(msg.dupChan)) :
More than one zero value for Lateral Distance ('Lat. Loc (m)').
This indicates more than one channel ('SumFlowChannelNum') per sample ('SITEYR'). Or an error in the data.
Please correct then retry. Sample and Channel IDs are presented below:
Matt, email 20170623.
Still get an error message (below) even when the excel sheet being read in only has one site's (ANTI-101-S-2015) worth of data. All other command lines work up until I request results.
Error in model.frame.default(formula = data.calc[, name.DisCell] ~ data.calc[, : invalid type (list) for variable 'data.calc[, name.DisCell]'
If I do it with two sites worth (ANTI-101-S and ANTI-101-X) I get the same error message as before multiple zero values per channel.
Error in try(if (sum(tbl.zero$Freq) != nrow(tbl.zero)) stop(msg.dupChan)) :
More than one zero value for Lateral Distance ('Lat. Loc (m)').
This indicates more than one channel ('SumFlowChannelNum') per sample ('SITEYR'). Or an error in the data.
Please correct then retry. Sample and Channel IDs are presented below: