rowVars {sSeq}R Documentation

Calculating the sample variance within each row of A matrix

Description

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

Usage

rowVars(x)

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

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

[Package sSeq version 1.32.0 Index]