Skip to content

Commit

Permalink
Update remove_empties.R
Browse files Browse the repository at this point in the history
Fixes #568 

Feel free to edit or change, it is a bit difficult to write a clear description.
Added a clarification for lower and higher values.
  • Loading branch information
matanhakim committed Mar 2, 2024
1 parent 3769ab0 commit f89767b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/remove_empties.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#' @param which one of "rows", "cols", or `c("rows", "cols")`. Where no
#' value of which is provided, defaults to removing both empty rows and empty
#' columns, declaring the behavior with a printed message.
#' @param cutoff What fraction (>0 to <=1) of rows or columns must be empty to
#' be removed?
#' @param cutoff Under what fraction (>0 to <=1) of non-empty rows or columns should
#' `which` be removed? Lower values keep more rows/columns, higher values drop more.
#' @param quiet Should messages be suppressed (`TRUE`) or printed
#' (`FALSE`) indicating the summary of empty columns or rows removed?
#' @return Returns the object without its missing rows or columns.
Expand Down

0 comments on commit f89767b

Please sign in to comment.