fetch_percent_table: Runs percent_table for melted data frames.

Description Usage Arguments

Description

Runs percent_table for melted data frames.

Usage

1

Arguments

var

characer. The name of the variable you want percent breakdown for.

round

integer. How many digits you want to round percentages to. Default no rounding.

data.

The data to grap values from. This is assumed to be a three column melted dataframe, using reshape2 <http://cran.r-project.org/web/packages/reshape2/index.html>. The first column should contain IDs, the second column should contain variable names, and the third column should contain variable values.


peterhurford/surveytools documentation built on May 25, 2019, 1:51 a.m.