as_flextable.table {flextable} | R Documentation |
Transform a 'table' object into a flextable
Description
produce a flextable describing a
count table produced by function table()
.
This function uses the proc_freq()
function.
Usage
## S3 method for class 'table'
as_flextable(x, ...)
Arguments
x |
table object |
... |
arguments used by |
See Also
Other as_flextable methods:
as_flextable()
,
as_flextable.data.frame()
,
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.tabular()
,
as_flextable.tabulator()
,
as_flextable.xtable()
Examples
tab <- with(warpbreaks, table(wool, tension))
ft <- as_flextable(tab)
ft
[Package flextable version 0.9.6 Index]