I'm trying to convert some censored data into the qw object type so that rloadest handles it correctly. (I can't pull the data from NWIS). I've tried the code below but it repeatedly freezes my computer. I'm wondering if anyone has suggestions on what I'm doing wrong.
Thanks in advance-
Austin Baldwin
library(smwrQW)
conc <- c(0.07, 0.04, 0.025, 0.025)
rk <- c("", "", "<", "<")
rl <- c(0.025, 0.025, 0.025, 0.025)
DF <- data.frame(conc, rk, rl)
DF$rk <- as.character(DF$rk)
DF$qwconc <- as.qw(values=DF$conc, remark.codes=DF$rk, value.codes="",
reporting.level=DF$rl, reporting.units = "none", analyte.method = "none",
analyte.name = "none", unique.code = "none", value2="none")