rowVars: Calculating the sample variance within each row of A matrix

Description Usage Arguments Value Examples

View source: R/rowVars.R

Description

This function helps to obtain row-wise estimation across columns.

Usage

1

Arguments

x

A matrix or data.frame that includes multiple columns.

Value

A vector showing the per-row variance estimates for the matrix or data.frame.

Examples

1
2
x <- matrix(rnorm(10), 5)
rowVars(x)

Example output

Loading required package: caTools
Loading required package: RColorBrewer
[1] 0.229456702 0.373582786 0.210249501 0.165075001 0.009120371

sSeq documentation built on Nov. 8, 2020, 5:52 p.m.