create_table: Create a table

View source: R/tables.R

create_tableR Documentation

Create a table

Description

Creates a table of the desired type.

Usage

create_table(..., type = data.frame(), stringsAsFactors = FALSE)

Arguments

...

Arguments passed to the corresponding table creation function.

type

Table type (passed to parse_table_type).

stringsAsFactors

Whether to convert all character columns to factors.

See Also

Other Table functions: as_table, is_table, parse_table_type, parse_table, rbind_tables, remove_empty_dimensions, write_table

Examples

create_table(a = 1, b = 2)
## Not run: 
create_table(a = 1, b = 2, type = "data.table")
create_table(a = 1, b = 2, type = "tibble")
create_table(a = 1, b = 2, type = "tbl_dt")

## End(Not run)

columbia-glacier/cgr documentation built on Jan. 17, 2024, 2:42 p.m.