A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://davidgohel.github.io/flextable/reference/as_flextable.table.html below:

Transform a 'table' object into a flextable — as_flextable.table • flextable

produce a flextable describing a count table produced by function table().

This function uses the proc_freq() function.

Arguments
x

table object

...

arguments used by proc_freq().

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

           

wool

tension

L

M

H

Total

A

Count

9 (16.7%)

9 (16.7%)

9 (16.7%)

27 (50.0%)

Mar. pct (1)

50.0% ; 33.3%

50.0% ; 33.3%

50.0% ; 33.3%

B

Count

9 (16.7%)

9 (16.7%)

9 (16.7%)

27 (50.0%)

Mar. pct

50.0% ; 33.3%

50.0% ; 33.3%

50.0% ; 33.3%

Total

Count

18 (33.3%)

18 (33.3%)

18 (33.3%)

54 (100.0%)

(1) Columns and rows percentages


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4