remove_empty_rows: Remove empty rows (i.e. consisting only of zeros) in a matrix

View source: R/Proxytools_helpers.R

remove_empty_rowsR Documentation

Remove empty rows (i.e. consisting only of zeros) in a matrix

Description

Remove empty rows (i.e. consisting only of zeros) in a matrix

Usage

remove_empty_rows(xin)

Arguments

xin

Matrix

Value

Matrix

Examples

testmatrix <- matrix(c(1,0,1,0),ncol=2)
print(testmatrix)
print(remove_empty_rows(testmatrix))


paleovar/ptboxproxytools documentation built on June 9, 2025, 1:40 a.m.