... to be added... ### lappy() Another way to summarize data tables in Quarto using R is by using the `lapply()` function <sup>1</sup>. You can use this function to apply a summarizing function to multiple columns of a data table by group. The syntax for this is: `datatable[, lapply(.SD, summarizing_function), by = column]` where `datatable` is the input data table, `.SD` is a standard R object, and `summarizing_function` is the function used to summarize the data table <sup>2, 3</sup>. Some common summarizing functions in R include `mean()`, `median()`, `sd()`, `IQR()`, `mad()`, `min()`, `max()`, `first()`, `last()`, `nth()`, `n()`, `n_distinct()`, `any()`, and `all()` <sup>4</sup>. Sources: (1) Quarto - Using R. https://quarto.org/docs/computations/r.html Accessed 6/23/2023. (2) Summarize Multiple Columns of data.table by Group in R. https://www.geeksforgeeks.org/summarize-multiple-columns-of-data-table-by-group-in-r/ Accessed 6/23/2023. (3) Quarto - Tables. https://quarto.org/docs/authoring/tables.html Accessed 6/23/2023. (4) The Complete Guide: How to Group & Summarize Data in R - Statology. https://www.statology.org/group-summarize-data-r/ Accessed 6/23/2023. (5) How to Use summary() Function in R (With Examples) - Statology. https://www.statology.org/summary-function-in-r/ Accessed 6/23/2023. (6) The Easiest Way to Create Summary Tables in R - Statology. https://www.statology.org/summary-table-in-r/ Accessed 6/23/2023. (7) Summarise each group down to one row — summarise • dplyr - tidyverse. https://dplyr.tidyverse.org/reference/summarise.html Accessed 6/23/2023. (8) http://www.cookbook-r.com/Manipulating_data/Summarizing_data/#:~:text=The%20ddply%20%28%29%20function.%20It%20is%20the%20easiest,is%20included%20in%20the%20base%20install%20of%20R.. http://www.cookbook-r.com/Manipulating_data/Summarizing_data/ Accessed 6/23/2023. (9) The Complete Guide: How to Group & Summarize Data in R - Statology. https://www.statology.org/group-summarize-data-r/ Accessed 6/23/2023. (10) How to use Summary Function in R? - GeeksforGeeks. https://www.geeksforgeeks.org/how-to-use-summary-function-in-r/ Accessed 6/23/2023. (11) What Is The summary() Function In R? - LearnShareIT. https://learnshareit.com/what-is-the-summary-function-in-r/ Accessed 6/23/2023. (12) What is the summary() Function in R - R-Lang. https://r-lang.com/summary-function-in-r/ Accessed 6/23/2023. *** 2023 cloudedknowledge.net