sp_vars_Rcpp: Calculate column-wise or row-wise variance

View source: R/RcppExports.R

sp_vars_RcppR Documentation

Calculate column-wise or row-wise variance

Description

Calculate column-wise or row-wise variance

Usage

sp_vars_Rcpp(sp_data, rowVars = FALSE)

Arguments

sp_data

A sparse matrix

rowVars

A boolean value, whether to calculate row-wise variance

Value

A n x 1 or p x 1 matrix


xzhoulab/SPARK documentation built on Nov. 20, 2022, 2:54 p.m.