Learn R Programming

tidytable (version 0.5.1)

as_tidytable: Coerce an object to a data.table/tidytable

Description

A tidytable object is simply a data.table with nice printing features.

Note that all tidytable functions automatically convert data.frames & data.tables to tidytables in the background. As such this function will rarely need to be used by the user.

Usage

as_tidytable(x)

as_dt(x)

Arguments

x

An R object

Examples

Run this code
# NOT RUN {
data.frame(x = 1:3) %>%
  as_tidytable()

data.frame(x = 1:3) %>%
  as_dt()
# }

Run the code above in your browser using DataLab