percents: Getting percentages of total values for each row, column.

Description Usage Arguments

View source: R/functions.R

Description

Getting percentages of total values for each row, column. Also renaming original columns for easy access.

Usage

1
percents(df, cols, total)

Arguments

df

dataframe

cols

vector labelling columns of interest

total

numeric, total number of responses.


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.