Learn R Programming

grouper

The goal of grouper is to make it easier for an instructor to divide students into groups.

Installation

You can install the development version of grouper from GitHub with:

# install.packages("pak")
pak::pak("singator/grouper")

But to be honest, the package on CRAN is already the most updated on. Please refer to the vignettes for examples and documentation on the models in the package.

For best performance, it is best to get a license for Gurobi optimiser.

Contact

For more details, please contact Vik Gopal vik.gopal@nus.edu.sg or Kevin Lam lamfy@u.nus.edu.

Copy Link

Version

Install

install.packages('grouper')

Monthly Downloads

138

Version

0.5.0

License

MIT + file LICENSE

Maintainer

Vik Gopal

Last Published

October 16th, 2025

Functions in grouper (0.5.0)

dba_gc_ex003

DBA Group Composition Data Example 003
dba_gc_ex004

DBA Group Composition Data Example 004
extract_student_info

Extract student information
%>%

Pipe operator
assign_groups

Assigns model result to the original data frame.
extract_params_yaml

Extract parameters from a YAML file
prepare_model

Initialise optimisation model
pba_gc_ex002

PBA Group Composition Data Example 002
dba_gc_ex001

DBA Group Composition Data Example 001
pba_prefmat_ex002

PBA Group Preference Data Example 002