Learn R Programming

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

doBy (version 4.5-11)

doBy - Groupwise summary statistics, LSmeans, general linear contrasts, various utilities

Description

doBy originally contained facilities to 'do' something to data stratified 'by' some variables. doBy contains a variety of utilities including: 1) Facilities for groupwise computations of summary statistics and other facilities for working with grouped data. 2) LSmeans (least-squares means), general linear contrasts. 3) Miscellaneous other utilities.

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

399,811

Version

4.5-11

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

September 9th, 2014

Functions in doBy (4.5-11)

carcass

Lean meat contents of 344 pig carcasses
lapplyBy

Formula based version of lapply
haldCement

Heat development in cement under hardening.
renameCol

Rename columns in a matrix or a dataframe.
firstlastobs

Locate the index of the first/last unique value
scaleBy

Groupwise scaling and centering of numeric columns in a dataframe
beets

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

Various utilitie. Functions for creating groupwise calculations etc.; calculation of least-squares means; miscellaneous utilities
lmBy

List of lm objects with a common model
milkman

Milk yield data for manually milked cows.
codstom

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

Calculate "time since event" in a vector.
parseGroupFormula

Extract components from a formula with "conditioning bar"
linest

Compute linear estimates
splitBy

Split a data frame
budworm

Effect of Insecticide on survivial of tobacco budworms
sampleBy

Sampling from a data frame
which.maxn

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

Ordering (sorting) rows of a data frame
recodeVar

Recode values of a vector
descStat

Computing simple descriptive statistics of a numeric vector.
transformBy

Function to make groupwise transformations
createFunBy

A template function for creating groupwise functions
summaryBy

Function to calculate groupwise summary statistics
subsetBy

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

Internal functions for the doBy package
subSeq

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

Compute linear estimates, including LS-means (aka population means or marginal means)
dietox

Growth curves of pigs in a 3x3 factorial experiment
esticon

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

NIRmilk