aggregateDataframe: Aggregate a dataframe according to "factor" levels.

View source: R/aggregateDataframe.R

aggregateDataframeR Documentation

Aggregate a dataframe according to "factor" levels.

Description

Function to aggregate a dataframe according to "factor" levels.

Usage

aggregateDataframe(dfr, factors = NULL, vars = NULL, verbose = FALSE)

Arguments

dfr
  • dataframe

factors
  • factors to aggregate by

vars
  • variable(s) to aggregate

verbose
  • flag to print extra info

Details

Uses sqldf.

Value

dataframe with vars aggregated by levels of "factor" columns


wStockhausen/wtsUtilities documentation built on Aug. 18, 2024, 11:48 p.m.