sparseMatrixDensity: Get the percent of entries that are filled in a sparse matrix

Description Usage Arguments Value

View source: R/misc.R

Description

Get the percent of entries that are filled in a sparse matrix

Usage

1

Arguments

mat

matrix of class dgCMatrix or dgRMatrix

Value

percent of entries that are non-zero


barkasn/nbHelpers documentation built on Oct. 10, 2020, 9:46 p.m.