Return the proportion of sparseness of a document-feature matrix, equal to the proportion of cells that have zero counts.
sparsity(x)
x | the document-feature matrix |
---|
#> [1] 0.9176184#> Error in get(".SigLength", envir = env): object '.SigLength' not found