subset_list: Subset a 'list' type column in a 'data.table'

View source: R/subset_list.R

subset_listR Documentation

Subset a 'list' type column in a 'data.table'

Description

Subset a 'list' type column in a 'data.table'

Usage

subset_list(column, by, type = "any")

Arguments

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.


dbrookeUAB/dth documentation built on Oct. 6, 2022, 10:52 p.m.