Learn R Programming

⚠️There's a newer version (4.6.27) of this package.Take me there.

doBy (version 3.1)

Groupwise computations of summary statistics and other utilities

Description

Facilities for groupwise computations of summary statistics and other facilities for working with grouped data (similar to what can be achieved by proc means or proc summary of the SAS system).

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

269,505

Version

3.1

License

GPL (>= 2)

Maintainer

S�ren H�jsgaard

Last Published

June 29th, 2025

Functions in doBy (3.1)

lapplyBy

Formula based version of lapply
summaryBy

Function to calculate groupwise summary statistics
subsetBy

Finds subsets of a dataframe which is split by variables in a formula.
dietox

Growth curves of pigs in a 3x3 factorial experiment
recodevar

recode levels of variable
codstom

Diet of Atlantic cod in the Gulf of St. Lawrence (Canada)
sampleBy

Sampling from a data frame
splitBy

Split a data frame
orderBy

Ordering (sorting) rows of a data frame
transformBy

Function to make groupwise transformations
esticon

Contrasts for lm, glm, lme, and geeglm objects
dose.LD50

Calculate LD50
internal

Internal functions for the doBy package
doBy

Various utilities which includes functions for creating groupwise calculations etc.
firstlastobs

Locate the index of the first/last unique value
budworm

Effect of Insecticide on survivial of tobacco budworms