setTb: Set (back) to tibble

View source: R/data.table.R

setTbR Documentation

Set (back) to tibble

Description

Set (back) to tibble

Usage

setTb(df, value = c("tbl_df", "tbl", "data.frame"))

Arguments

df

initial data

value

The old class

Examples

library(data.table)
iris_test <- copy(tibble::as_tibble(iris))
setDT(iris_test)
iris_test
setTb(iris_test)
iris_test

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.