meanse: Compute mean and standard error of mean and put together with...

Description Usage Arguments Value Examples

View source: R/descriptives.R

Description

meanse computes SEM based on Standard Deviation/square root(n)

Usage

1
meanse(x, mult = 1, roundDig = 2, drop0 = FALSE)

Arguments

x

Data for computation.

mult

multiplier for SEM, default 1, can be set to e.g. 2 or 1.96 to create confidence intervals

roundDig

Number of relevant digits for roundR.

drop0

Should trailing zeros be dropped?

Value

character vector with mean ± SEM, rounded to desired precision

Examples

1
2
# basic usage of meanse
meanse(x = mtcars$wt)

wrappedtools documentation built on May 8, 2021, 9:06 a.m.