data.table::setDTthreads(2) #only needed for CRAN checks
data(caers)
proc <- processRaw(caers)
table(proc$N)
squash1 <- autoSquash(proc)
ftable(squash1[, c("N", "weight")])
if (FALSE) squash2 <- autoSquash(proc, keep_pts = c(50, 5))
if (FALSE) ftable(squash2[, c("N", "weight")])
if (FALSE) {
squash3 <- autoSquash(proc, keep_pts = 100,
cut_offs = c(250, 500),
num_super_pts = c(20, 60, 125))
}
if (FALSE) ftable(squash3[, c("N", "weight")])
Run the code above in your browser using DataLab