percent_df {GenderInfer}R Documentation

Create a dataframe that will be the input to generate stacked bar chart and bullet chart that show percentage to compare proportions among gender.

Description

Create a dataframe that will be the input to generate stacked bar chart and bullet chart that show percentage to compare proportions among gender.

Usage

percent_df(data_df)

Arguments

data_df

dataframe containing level, lower_CI, upper_CI, significance and female and male percentages from calculate_binom_baseline

Value

The output dataframe contains the columns x_values, y_values, gender, labels


[Package GenderInfer version 0.1.0 Index]