From 973417b90cd9252b62129ce3c6556992cb857c7e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 3 Mar 2024 20:13:30 +0100 Subject: [PATCH] correct english form --- R/data_summary.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/data_summary.R b/R/data_summary.R index d4474eead..8bb4f3e09 100644 --- a/R/data_summary.R +++ b/R/data_summary.R @@ -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)