summary_x: Summary for numeric vectors that includes sd and stderr

View source: R/init.R

summary_xR Documentation

Summary for numeric vectors that includes sd and stderr

Description

sd = standard deviation stderr = standard error of the mean (sd(x) / sqrt(length(x)))

Usage

summary_x(x, label = NULL, sel_col = NULL, rnd = 3)

Arguments

x

a numeric vector

label

row name label for the output. If NULL, then the label will be the input object label.

sel_col

If "x" is data.table or data.frame, which column to assess?

rnd

number of digits to round sd and stderr to

Value

a matrix

Examples

summary_x(iris$Sepal.Length)

leylabmpi/LeyLabRMisc documentation built on Nov. 3, 2022, 3:45 p.m.