# FlexTable Percentage Table

### Description

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.

### Usage

1 2 3 4 5 |

### Arguments

`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 |

### Value

a `FlexTable`

object

### Examples

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:")
``` |