tab_to_df: A Function that converts a table to data.frame.

Description Usage Arguments Value Examples

View source: R/tabplot_bar.R

Description

A Function that converts a table to data.frame.

Usage

1
tab_to_df(tab, sort_values = "normal", add_totals = TRUE, dcm_place = 0)

Arguments

tab

A table summary generated eg table of variable x

sort_values

Sorts by Count column.Options;"normal","desc" and "asc". Default is "normal"

add_totals

Adds additional row of Totals. Default : TRUE

dcm_place

Decides the number of decimal places. Default: 0

Value

A data frame structure of the table provided

Examples

1

stevenndungu/quickr documentation built on May 6, 2020, 7:49 p.m.