diff --git a/R/power_utils.R b/R/power_utils.R index d12aacb..52439a5 100644 --- a/R/power_utils.R +++ b/R/power_utils.R @@ -19,8 +19,8 @@ #' @param pool_strat required for power_pool_random and sample_size_pool_random or NA #' @param cluster_number required #' @param total_pools NA if sample_size_pool_random -#' @param total_pools NA if unless sample_size_pool_random -#' @param exp_total_pool required for sample_size_pool_random or NA +#' @param total_units required for power_pool and sample_size_pool or NA +#' @param exp_total_pools required for sample_size_pool_random or NA #' @param exp_total_units required for sample_size_pool_random or NA #' @param text chr Explanatory summary text to be printed at the end #' diff --git a/man/power_size_results.Rd b/man/power_size_results.Rd index 71e8d20..2b4a941 100644 --- a/man/power_size_results.Rd +++ b/man/power_size_results.Rd @@ -52,13 +52,15 @@ power_size_results( \item{cluster_number}{required} -\item{total_pools}{NA if unless sample_size_pool_random} +\item{total_pools}{NA if sample_size_pool_random} + +\item{total_units}{required for power_pool and sample_size_pool or NA} + +\item{exp_total_pools}{required for sample_size_pool_random or NA} \item{exp_total_units}{required for sample_size_pool_random or NA} \item{text}{chr Explanatory summary text to be printed at the end} - -\item{exp_total_pool}{required for sample_size_pool_random or NA} } \value{ An object of class \code{power_size_results} containing selected