subset_list | R Documentation |
Subset a 'list' type column in a 'data.table'
subset_list(column, by, type = "any")
column |
list column in data.table to subset |
by |
a character or character vector for subsetting. Can also use function test (e.g. is.na) |
type |
return rows that either have 'any' [default] or 'all' of the ‘by' values. type = ’none' returns rows with none of the by values. 'only' returns rows that only have the by values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.