colSds: Compute row and column standard deviations

Description Usage Arguments Value Author(s) See Also Examples

Description

The rowSds and colSds respectively computes the standard deviations of the rows and columns of the given matrix.

Usage

1
2
3
colSds(x)

rowSds(x)

Arguments

x

A numeric matrix of size n times m

Value

colSds returns a numeric vector of length m.

rowSds returns a numeric vector of length n.

Author(s)

Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>

See Also

rowMeans, colMeans

Examples

1
2
3
4
x <- matrix(rnorm(50), 10, 5)
colSds(x)
y <- matrix(rnorm(50), 10, 5)
rowSds(y)

AEBilgrau/Bmisc documentation built on May 5, 2019, 11:28 a.m.