rm_0s_by_col: remove zeros vertically /w colsums

Description Usage Arguments Value Examples

View source: R/rm_0s_by_col.R

Description

remove zeros vertically /w colsums

Usage

1

Arguments

col

matrix column

Value

a matrix with occupied columns

Examples

1
2
3
set.seed(123)
x = matrix(rpois(100, .1), 10, 10)
rm_0s_by_col(x)

Deebee33/N0 documentation built on Dec. 17, 2021, 4:11 p.m.