Learn R Programming

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

doBy (version 4.5-10)

doBy - Groupwise summary statistics, LSmeans, general linear contrasts, various 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) LSmeans (least-squares means), general linear contrasts. 3) Miscellaneous other utilities.

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

360,908

Version

4.5-10

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

November 28th, 2013

Functions in doBy (4.5-10)

carcass

Lean meat contents of 344 pig carcasses
orderBy

Ordering (sorting) rows of a data frame
esticon

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

Rename columns in a matrix or a dataframe.
firstlastobs

Locate the index of the first/last unique value
LSmeans

Compute linear estimates
which.maxn

Where are the n largest or n smallest elements in a numeric vector ?
dose.LD50

Calculate LD50
milkman

Milk yield data for manually milked cows.
parseGroupFormula

Extract components from a formula with "conditioning bar"
budworm

Effect of Insecticide on survivial of tobacco budworms
dietox

Growth curves of pigs in a 3x3 factorial experiment
lmBy

List of lm objects with a common model
scaleBy

Groupwise scaling and centering of numeric columns in a dataframe
createFunBy

A template function for creating groupwise functions
recodeVar

Recode values of a vector
doBy

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

Internal functions for the doBy package
summaryBy

Function to calculate groupwise summary statistics
beets

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

Function to make groupwise transformations
linest

Compute linear estimates
lapplyBy

Formula based version of lapply
splitBy

Split a data frame
subSeq

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

Sampling from a data frame
descStat

Computing simple descriptive statistics of a numeric vector.
codstom

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

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

Calculate "time since event" in a vector.
NIRmilk

NIRmilk