Aggregate Numeric, Date and Categorical Variables by an ID
Released Nov 23, 2015 by Matthias Bogaert, Michel Ballings, Dirk Van den Poel
Convenience functions for aggregating data frame. Currently mean, sum and variance are supported. For Date variables, recency and duration are supported. There is also support for dummy variables in predictive contexts.
This package can be included as a dependency from a Java or Scala project by including
the following your project's
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>AggregateR</artifactId> <version>0.0.2-b18</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
If you're using Renjin from the command line, you load this library by invoking:
This package was last tested against Renjin 0.8.2346 on Mar 19, 2017.