tbl_df: Convert data frame to an object of class "tibble"

View source: R/misc.R

tbl_dfR Documentation

Convert data frame to an object of class "tibble"

Description

tbl_df() ensures legacy compatibility with some of my scripts since the function is deprecated in dplyr. to_tbl() also added for fun.

Usage

tbl_df(...)

to_tbl(...)

Arguments

...

optional parameters, but don't put anything here. It's just there to quell CRAN checks.

Value

This function takes a data frame and turns it into a tibble.

Examples


tbl_df(mtcars)
tbl_df(iris)


stevemisc documentation built on Nov. 6, 2023, 9:06 a.m.