Learn R Programming

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

doBy (version 4.5.1)

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

Description

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) Rscript2HTML for autmatic generation of HTML file from R-script with a minimum of markup, 4) other utilities. doBy originally contained facilities for 'doing something to data where data would be partitioned by some variables which define groupings of data' - hence the name doBy.

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

348,257

Version

4.5.1

License

GPL (>= 2)

Maintainer

S�ren H�jsgaard

Last Published

January 30th, 2012

Functions in doBy (4.5.1)

firstlastobs

Locate the index of the first/last unique value
internal

Internal functions for the doBy package
subSeq

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

Calculate population means (LSMEANS in SAS jargon)
renameCol

Rename columns in a matrix or a dataframe.
budworm

Effect of Insecticide on survivial of tobacco budworms
lmBy

List of lm objects with a common model
doBy

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

Milk yield data for manually milked cows.
which.maxn

Where are the n largest or n smallest elements in 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.
recodeVar

Recode values of a vector
timeSinceEvent

Calculate "time since event" in a vector.
splitBy

Split a data frame
dietox

Growth curves of pigs in a 3x3 factorial experiment
summaryBy

Function to calculate groupwise summary statistics
sampleBy

Sampling from a data frame
dose.LD50

Calculate LD50
transformBy

Function to make groupwise transformations
scaleBy

Groupwise scaling and centering of numeric columns in a dataframe
beets

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

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

Ordering (sorting) rows of a data frame
lapplyBy

Formula based version of lapply
Rmarkup

Automatic Generation of Reports (as HTML documents)