nnzeroGroups.Rd
Utility function to compute number of zeros-per-feature within group
nnzeroGroups(X, y, MARGIN = 2)
# S3 method for dgCMatrix
nnzeroGroups(X, y, MARGIN = 2)
# S3 method for matrix
nnzeroGroups(X, y, MARGIN = 2)
matrix
group labels
whether observations are rows (=2) or columns (=1)
Matrix of groups by features