as.data.table.tbl: Convert a dplyr table to a data.table by stripping the dplyr...

Description Usage Arguments See Also Examples

View source: R/as.data.table.tbl.R

Description

Convert a dplyr table to a data.table by stripping the dplyr classes

Usage

1
2
## S3 method for class 'tbl'
as.data.table(x, keep.rownames = FALSE)

Arguments

x

tbl object

keep.rownames

logical; unused but kepy to match as.data.table generic

See Also

Examples

1
2
3
4
5
 tbl <- as.tibble(iris)
 dt <- as.data.table(iris)

 class(tbl)
 class(dt)

decisionpatterns/data.table.plus documentation built on June 15, 2020, 10:26 p.m.