## aggregate in R: How to Calculate Aggregate of Data Frame in R

The aggregate function in R can aggregate the input data frame by applying a function defined by the FUN argument to each column of sub-data frames defined using a by parameter. aggregate in R To aggregate data in R, use the aggregate() function. The aggregate() is a built-in R method that splits the data into … Read more