tbl_df {stevemisc}R 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)


[Package stevemisc version 1.7.0 Index]