toxboottoxbootmc calculates bootstrapped curves for multiple m4ids using
mclapply to perform the calculation on many cores.
toxbootmc(dat, m4ids = NULL, filter = TRUE, boot_method = "smooth",
  cores = 1L, destination = "memory", ...)data.table returned from toxbootQueryToxCast
list of m4ids to perform bootstrap calculation. By default NULL, which will run on all m4ids in the in dat.
logical, default TRUE. If TRUE dat will be filtered to remove
m4ids that are already in the mongoDB. Ignored if destination is not
"mongo".
parameter passed to toxboot. Used also if
filter is TRUE.
integer length 1, number of cores to supply as mc.cores to
mclapply. By default set to 1L which will work on all systems
including Windows. Increase to the number of cores on your system (see
detectCores) to perform calculations in parallel.
string length 1, options are "mongo", "mysql", "file", "memory"
parameters passed to toxboot
dat, a data.table corresponding to the level 3 data for the aeids
  with columns added for m4id and bmad.
The function toxboot takes performs bootstrap analysis
  on a single m4id included in the data.table supplied. This function acts as
  a wrapping and cleaning function around toxboot to both
  simplify setup with common defaults and to provide multicore support
  through the use of mclapply.