Skip to content

Commit

Permalink
correct english form
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 3, 2024
1 parent 465a9ff commit 973417b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/data_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ data_summary.data.frame <- function(x, ..., by = NULL) {
)
}
# split data
splitted_data <- split(x, x[by])
out <- lapply(splitted_data, function(s) {
split_data <- split(x, x[by])
out <- lapply(split_data, function(s) {
# no data for combination? Return NULL
if (nrow(s) == 0) {
return(NULL)
Expand Down

0 comments on commit 973417b

Please sign in to comment.