meanse {wrappedtools} | R Documentation |
Compute mean and standard error of mean and put together with the ± symbol.
Description
meanse
computes SEM based on Standard Deviation/square root(n)
Usage
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
# basic usage of meanse
meanse(x = mtcars$wt)
[Package wrappedtools version 0.9.5 Index]