Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 4, 2024
1 parent e86b6e2 commit 28e7360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions R/data_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#' as a character string, e.g. `"mean_sepal_width = mean(Sepal.Width)"`. The
#' summary function `n()` can be used to count the number of observations.
#'
#' @seealso `value_at()`, which can be used inside a `data_summary()` call.
#'
#' @return A data frame with the requested summary statistics.
#'
#' @examples
Expand Down Expand Up @@ -48,8 +46,8 @@
#' # first and last observations of "mpg" within groups
#' data_summary(
#' mtcars,
#' first = value_at(mpg),
#' last = value_at(mpg, -1),
#' first = mpg[1],
#' last = mpg[length(mpg)],
#' by = c("am", "gear")
#' )
#' @export
Expand Down
7 changes: 2 additions & 5 deletions man/data_summary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 28e7360

Please sign in to comment.