helper_mean_sd: Mean and standard deviation

View source: R/helpers.R

helper_mean_sdR Documentation

Mean and standard deviation

Description

It calculates mean and standard deviation, concatenating them to present on a table.

Usage

helper_mean_sd(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.