sp_means_Rcpp: Calculate column-wise or row-wise mean

View source: R/RcppExports.R

sp_means_RcppR Documentation

Calculate column-wise or row-wise mean

Description

Calculate column-wise or row-wise mean

Usage

sp_means_Rcpp(sp_data, rowMeans = FALSE)

Arguments

sp_data

A sparse matrix

rowMeans

A boolean value, whether to calculate row-wise mean

Value

A n x 1 or p x 1 matrix


feiyoung/DR.SC documentation built on March 23, 2024, 6:31 p.m.