It displays the first rows and shows the column types. If there is only one row, a simplified vertical table is produced.
# S3 method for data.frame
as_flextable(
x,
max_row = 10,
split_colnames = FALSE,
short_strings = FALSE,
short_size = 35,
short_suffix = "...",
do_autofit = TRUE,
show_coltype = TRUE,
color_coltype = "#999999",
...
)
a data.frame
The number of rows to print. Default to 10.
Should the column names be split (with non alpha-numeric characters). Default to FALSE.
Should the character column be shorten. Default to FALSE.
Maximum length of character column if
short_strings
is TRUE. Default to 35.
Suffix to add when character values are shorten. Default to "...".
Use autofit()
before rendering the table.
Default to TRUE.
Show column types. Default to TRUE.
Color to use for column types. Default to "#999999".
unused arguments
Other as_flextable methods:
as_flextable.gam()
,
as_flextable.glm()
,
as_flextable.grouped_data()
,
as_flextable.htest()
,
as_flextable.kmeans()
,
as_flextable.lm()
,
as_flextable.merMod()
,
as_flextable.pam()
,
as_flextable.summarizor()
,
as_flextable.table()
,
as_flextable.tabular()
,
as_flextable.tabulator()
,
as_flextable.xtable()
,
as_flextable()