meansd: function to compute mean and sd into a single string

View source: R/meansd.R

meansdR Documentation

function to compute mean and sd into a single string

Description

Methods that estimates a mean and sd and stores it into a single string

Usage

 meansd(x, digits = c(1, 1)) 

Arguments

x

A vector of numeric value

digits

digits for respectively the mean and sd. If a single value is entered it applies to mean and sd

Value

Returns a string containing mean and sd with entered digit precisions.

Author(s)

Charles-Édouard Giguère

Examples

xf(Sepal.Width ~ Species, iris, meansd)

giguerch/CUFF documentation built on March 27, 2024, 5:36 p.m.