Learn R Programming

pliman (version 2.1.0)

utils_stats: These functions applies common statistics to a list of objects, returning a numeric vector.

Description

These functions applies common statistics to a list of objects, returning a numeric vector.

Usage

mean_list(x, ...)

sd_list(x, ...)

max_list(x, ...)

min_list(x, ...)

Value

A numeric vector.

Arguments

x

A data.frame or matrix with numeric values.

...

Further arguments passed on to the R base function (e.g, mean(), sd(), etc.)

Examples

Run this code
mean_list(list(a = 1:10, b = 2:20))

Run the code above in your browser using DataLab