Learn R Programming

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

doBy (version 4.5-6)

doBy - Groupwise summary statistics, general linear contrasts, population means (least-squares-means), and other utilities

Description

doBy originally contained facilities to 'do something' to data where data is partitioned 'by' some variables which define groupings of data - hence the name doBy. doBy contains a variety of utilities including: 1) Facilities for groupwise computations of summary statistics and other facilities for working with grouped data. 2) General linear contrasts and LSMEANS (least-squares-means also known as population means), 3) other utilities.

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

348,257

Version

4.5-6

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

March 19th, 2013

Functions in doBy (4.5-6)

dietox

Growth curves of pigs in a 3x3 factorial experiment
beets

Yield and sugar percentage in sugar beets from a split plot experiment.
descStat

Computing simple descriptive statistics of a numeric vector.
popMeans

Calculate population means (LSMEANS in SAS jargon)
esticon

Contrasts for lm, glm, lme, and geeglm objects
firstlastobs

Locate the index of the first/last unique value
carcass

Lean meat contents of 344 pig carcasses
budworm

Effect of Insecticide on survivial of tobacco budworms
dose.LD50

Calculate LD50
milkman

Milk yield data for manually milked cows.
codstom

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

Groupwise scaling and centering of numeric columns in a dataframe
subSeq

Find sub-sequences of identical elements in a vector.
splitBy

Split a data frame
createFunBy

A template function for creating groupwise functions
which.maxn

Where are the n largest or n smallest elements in a numeric vector ?
lmBy

List of lm objects with a common model
parseGroupFormula

Extract components from a formula with "conditioning bar"
timeSinceEvent

Calculate "time since event" in a vector.
lapplyBy

Formula based version of lapply
doBy

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

Function to calculate groupwise summary statistics
internal

Internal functions for the doBy package
transformBy

Function to make groupwise transformations
recodeVar

Recode values of a vector
sampleBy

Sampling from a data frame
renameCol

Rename columns in a matrix or a dataframe.
subsetBy

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

Ordering (sorting) rows of a data frame
NIRmilk

NIRmilk