unlist_dt | R Documentation |
Identify columns that are lists and turn them into vectors.
unlist_dt(dt, exclude = NULL, verbose = TRUE)
dt |
A data.table. |
exclude |
Columns to exclude from unlisting. |
verbose |
Print messages. |
dt
with list columns turned into vectors.
dat <- echodata::BST1
dat$SNP <- as.list(dat$SNP)
dat2 <- unlist_dt(dt=dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.