R/unlist_dt.R
unlist_dt.Rd
Identify columns that are lists and turn them into vectors.
unlist_dt(dt, exclude = NULL, verbose = TRUE)
A data.table.
Columns to exclude from unlisting.
Print messages.
dt with list columns turned into vectors.
dt
dat <- echodata::BST1 dat$SNP <- as.list(dat$SNP) dat2 <- unlist_dt(dt=dat) #> Unlisting 1 column(s).