Get a `FlexTable`

two-way frequency table.
Table contains cell frequencies, cell percentages of the total frequency,
cell percentages of row frequencies and cell percentages of column frequencies.

1 2 3 4 5 |

`x` |
a |

`percent_digits` |
the desired number of digits after the decimal point for percentages. |

`label_na` |
label to use for |

`label_level` |
label to use for level column (only for one way table). |

`label_sum` |
label to use for margins. |

`label_count` |
label to use for |

`label_percent` |
label to use for |

`base100` |
wether to multiply percentages by 100. |

`percent` |
whether to include cell percentages in the table. |

`row_percent` |
whether to include cell percentages of row frequencies in the table. |

`col_percent` |
whether to include cell percentages of column frequencies in the table. |

`label_percent_col` |
label to use for |

`label_percent_row` |
label to use for |

a `FlexTable`

object

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
#
am = c( "automatic", "manual" )[mtcars$am+1]
carb = paste( mtcars$carb, "carburetor(s)")
my_freq_table = freqtable(table( am, carb ) )
print( my_freq_table )
if( interactive() ) readline("Hit <Return> to see next FlexTable:")
my_freq_table = freqtable(table( am, carb, useNA = "always") )
print( my_freq_table )
if( interactive() ) readline("Hit <Return> to see next FlexTable:")
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.