Coerce an object to a data.table/tidytable
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.
as_tidytable( x, ..., .name_repair = c("check_unique", "unique", "universal", "minimal"), .keep_rownames = NULL )
x |
An R object |
... |
Additional arguments to be passed to or from other methods. |
.name_repair |
Treatment of duplicate names. See |
.keep_rownames |
Default is |
test_df <- data.frame(x = -2:2, y = c(rep("a", 3), rep("b", 2))) test_df %>% as_tidytable()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.