Learn R Programming

viper (version 1.6.0)

frvarna: Variance of rows for arrays with NA values

Description

This function computes the variance by rows ignoring NA values

Usage

frvarna(x)

Arguments

x
Numeric matrix

Value

1-column matrix with the variance by row results

Examples

Run this code
data(bcellViper, package="bcellViper")
tmp <- exprs(dset)[1:10, ]
tmp[round(runif(100, 1, length(tmp)))] <- NA
frvarna(tmp)

Run the code above in your browser using DataLab