Learn R Programming

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

doBy (version 4.5-15)

Groupwise Statistics, LSmeans, Linear Contrasts, Utilities

Description

The facilities can roughly be grouped as: 1) Facilities for groupwise computations of summary statistics and other facilities for working with grouped data: 'do' something to data stratified 'by' some variables. 2) LSmeans (least-squares means), general linear contrasts. 3) Miscellaneous other utilities.

Copy Link

Version

Install

install.packages('doBy')

Monthly Downloads

356,484

Version

4.5-15

License

GPL (>= 2)

Last Published

March 31st, 2016

Functions in doBy (4.5-15)

carcass

Lean meat contents of 344 pig carcasses
esticon

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

Heat development in cement under hardening.
breastcancer

Gene expression signatures for p53 mutation status in 250 breast cancer samples
splitBy

Split a data frame
firstlastobs

Locate the index of the first/last unique value
lapplyBy

Formula based version of lapply
null_basis

Finds the basis of the (right) null space.
timeSinceEvent

Calculate "time since event" in a vector.
potatoes

Weight and size of 20 potatoes
subsetBy

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

Extract components from a formula with "conditioning bar"
linest

Compute linear estimates
is_estimable

Determines if contrasts are estimable.
milkman

Milk yield data for manually milked cows.
subSeq

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

List of lm objects with a common model
recodeVar

Recode values of a vector
internal

Internal functions for the doBy package
LSmeans

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

Effect of Insecticide on survivial of tobacco budworms
codstom

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

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

Function to calculate groupwise summary statistics
descStat

Computing simple descriptive statistics of a numeric vector.
which.maxn

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

Ordering (sorting) rows of a data frame
transformBy

Function to make groupwise transformations
createFunBy

A template function for creating groupwise functions
doBy

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

Groupwise scaling and centering of numeric columns in a dataframe
dietox

Growth curves of pigs in a 3x3 factorial experiment
renameCol

Rename columns in a matrix or a dataframe.
sampleBy

Sampling from a data frame
NIRmilk

NIRmilk
crimeRate

crimeRate