Number of non-zero values per row

rowdetected(
  m,
  value = 0,
  method = c("notequal", "greaterthan", "lessthan", "equal"),
  counts = TRUE
)

Arguments

m

matrix

Value

numeric vector

See also