helper_perc_count: Percentages and frequencies

View source: R/helpers.R

helper_perc_countR Documentation

Percentages and frequencies

Description

It calculates percentages and frequencies, concatenating them to present on a table.

Usage

helper_perc_count(var, digits, ...)

Arguments

var

a numeric vector.

digits

a numeric value specifying the number of digits to present the results.

...

additional input arguments that may be used when creating your own function.

Details

This function can be modified by the user, but input and output should be kept the same.

Value

a list with the first element name as the measure name and the second element as the value for a given variable.


dnzmarcio/ntimes documentation built on Jan. 4, 2024, 2:23 p.m.