as.data.frame.gt_tbl: Transform a *gt* object to a data frame

View source: R/as_data_frame.R

as.data.frame.gt_tblR Documentation

Transform a gt object to a data frame

Description

This facilitates conversion of the gt_tbl object to a data frame.

Usage

## S3 method for class 'gt_tbl'
as.data.frame(x, ...)

Arguments

x

The gt table data object

⁠obj:<gt_tbl>⁠ // required

This is the gt table object that is commonly created through use of the gt() function.

...

Optional parameters

⁠<multiple expressions>⁠ // (optional)

Anything provided here in ... will be passed to internal function calls that can consume it.


rstudio/gt documentation built on April 14, 2024, 5:24 p.m.