From f89767b8379935b3540a4a2d16bb95b66941443a Mon Sep 17 00:00:00 2001 From: Matan Hakim Date: Sat, 2 Mar 2024 10:59:40 +0200 Subject: [PATCH] Update remove_empties.R 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. --- R/remove_empties.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/remove_empties.R b/R/remove_empties.R index d6b51d94..80683f69 100644 --- a/R/remove_empties.R +++ b/R/remove_empties.R @@ -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.