In this section, we will compare the code side by side to solve the same problem using both default
plyr. Reusing the
iris3 data, we are now interested in producing five-number summary statistics for each variable group by species. The five numbers will be minimum, mean, median, maximum, and standard deviation. The output will be a list of data frames.
To calculate the five-number summary statistics, follow these steps:
iris3dataset using a
apply()function of the
An example that explains ...