# Groupwise Statistics, LSmeans, Linear Estimates, Utilities

## Documentation for package ‘doBy’ version 4.6.13

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C D E F G H I L M N O P R S T V W misc

## -- A --

aggregate_linest_list | Linear estimates matrix

## -- B --

beets | beets data
breastcancer | Gene expression signatures for p53 mutation status in 250 breast cancer samples
budworm | budworm data
by-lapply | Formula based version of lapply and sapply
by-lmby | List of lm objects with a common model
by-order | Ordering (sorting) rows of a data frame
by-sample | Sampling from a data frame
by-split | Split a data frame
by-subset | Finds subsets of a dataframe which is split by variables in a formula.
by-summary | Function to calculate groupwise summary statistics
by-transform | Function to make groupwise transformations

## -- C --

cad1 | Coronary artery disease data
cad2 | Coronary artery disease data
carcass | Lean meat contents of 344 pig carcasses
carcassall | Lean meat contents of 344 pig carcasses
codstom | Diet of Atlantic cod in the Gulf of St. Lawrence (Canada)
coef.esticon_class | Contrasts for lm, glm, lme, and geeglm objects
coef.linest_class | Compute linear estimates
coef.lmBy | List of lm objects with a common model
coef.summary_lmBy | List of lm objects with a common model
confint.esticon_class | Contrasts for lm, glm, lme, and geeglm objects
confint.linest_class | Compute linear estimates
crimeRate | crimeRate
cropyield | Yield from Danish agricultural production of grain and root crop.

## -- D --

data-mathmark | Mathematics marks for students
data_cad | Coronary artery disease data
descStat | Computing simple descriptive statistics of a numeric vector.
dietox | Growth curves of pigs in a 3x3 factorial experiment

## -- E --

esticon | Contrasts for lm, glm, lme, and geeglm objects

## -- F --

fatacid | Fish oil in pig food
fev | Forced expiratory volume in children
firstlastobs | Locate the index of the first/last unique value
firstobs | Locate the index of the first/last unique value
firstobs.default | Locate the index of the first/last unique value
firstobs.formula | Locate the index of the first/last unique value
fitted.lmBy | List of lm objects with a common model

## -- G --

getBy | List of lm objects with a common model
get_contrasts | Auxillary functions for computing lsmeans, contrasts etc
get_contrasts.default | Auxillary functions for computing lsmeans, contrasts etc
get_contrasts.merMod | Auxillary functions for computing lsmeans, contrasts etc
get_fun | restrict
get_linest_list | Linear estimates matrix
get_restrictions | restrict
get_vartypes | Auxillary functions for computing lsmeans, contrasts etc
get_X | Auxillary functions for computing lsmeans, contrasts etc
get_X.default | Auxillary functions for computing lsmeans, contrasts etc
get_X.merMod | Auxillary functions for computing lsmeans, contrasts etc
get_xlevels | Auxillary functions for computing lsmeans, contrasts etc
get_xlevels.default | Auxillary functions for computing lsmeans, contrasts etc
get_xlevels.mer | Auxillary functions for computing lsmeans, contrasts etc
get_xlevels.merMod | Auxillary functions for computing lsmeans, contrasts etc

## -- H --

haldCement | Heat development in cement under hardening.
head.splitByData | Split a data frame

## -- I --

interaction-plot | Two-way interaction plot
interaction_plot | Two-way interaction plot
is-estimable | Determines if contrasts are estimable.
is_estimable | Determines if contrasts are estimable.
is_grouped | Find sub-sequences of identical elements in a vector.

## -- L --

lapplyBy | Formula based version of lapply and sapply
lapply_by | Formula based version of lapply and sapply
lastobs | Locate the index of the first/last unique value
lastobs.default | Locate the index of the first/last unique value
lastobs.formula | Locate the index of the first/last unique value
LE_matrix | Linear estimates matrix
LE_matrix.default | Linear estimates matrix
linest | Compute linear estimates
linest-get | Auxillary functions for computing lsmeans, contrasts etc
linest-matrix | Linear estimates matrix
linest.default | Compute linear estimates
linest.geeglm | Compute linear estimates
linest.glm | Compute linear estimates
linest.lm | Compute linear estimates
linest.lmerMod | Compute linear estimates
linest.merMod | Compute linear estimates
lmBy | List of lm objects with a common model
lm_by | List of lm objects with a common model
ls-means | Compute LS-means (aka population means or marginal means)
LSmeans | Compute LS-means (aka population means or marginal means)
LSmeans.default | Compute LS-means (aka population means or marginal means)
LSmeans.lmerMod | Compute LS-means (aka population means or marginal means)

## -- M --

math | Mathematics marks for students
mathmark | Mathematics marks for students
mb_summary | Fast summary of microbenchmark object
milkman | Milk yield data for manually milked cows.
milkman_rdm1 | Milk yield data for manually milked cows.

## -- N --

NIRmilk | NIRmilk
null-basis | Finds the basis of the (right) null space.
null_basis | Finds the basis of the (right) null space.

## -- O --

orderBy | Ordering (sorting) rows of a data frame
order_by | Ordering (sorting) rows of a data frame

## -- P --

parseGroupFormula | Extract components from a formula with "conditioning bar"
popMeans | Compute LS-means (aka population means or marginal means)
popMeans.default | Compute LS-means (aka population means or marginal means)
popMeans.lmerMod | Compute LS-means (aka population means or marginal means)
potatoes | Weight and size of 20 potatoes

## -- R --

recodeVar | Recode values of a vector
renameCol | Rename columns in a matrix or a dataframe.
residuals.lmBy | List of lm objects with a common model
restrict_fun | restrict
restrict_fun_env | restrict
restrict_fun_sub | restrict
rle2 | Find sub-sequences of identical elements in a vector.

## -- S --

sampleBy | Sampling from a data frame
sample_by | Sampling from a data frame
sapplyBy | Formula based version of lapply and sapply
sapply_by | Formula based version of lapply and sapply
set_covariate_val | Auxillary functions for computing lsmeans, contrasts etc
set_xlevels | Auxillary functions for computing lsmeans, contrasts etc
splitBy | Split a data frame
split_by | Split a data frame
subSeq | Find sub-sequences of identical elements in a vector.
subsetBy | Finds subsets of a dataframe which is split by variables in a formula.
subset_by | Finds subsets of a dataframe which is split by variables in a formula.
sub_seq | Find sub-sequences of identical elements in a vector.
summary.esticon_class | Contrasts for lm, glm, lme, and geeglm objects
summary.linest_class | Compute linear estimates
summary.lmBy | List of lm objects with a common model
summaryBy | Function to calculate groupwise summary statistics
summary_by | Function to calculate groupwise summary statistics
summary_mb | Fast summary of microbenchmark object

## -- T --

tail.splitByData | Split a data frame
taylor | Taylor expansion (one dimension)
tidy-esticon | Tidy an esticon object
tidy-linest | Tidy a linest object
tidy.esticon_class | Tidy an esticon object
tidy.linest_class | Tidy a linest object
timeSinceEvent | Calculate "time since event" in a vector.
transformBy | Function to make groupwise transformations
transform_by | Function to make groupwise transformations

## -- V --

vcov.esticon_class | Contrasts for lm, glm, lme, and geeglm objects

## -- W --

which.maxn | Where are the n largest or n smallest elements in a numeric vector ?
which.minn | Where are the n largest or n smallest elements in a numeric vector ?

## -- misc --

.rhsf2list | Convert right hand sided formula to a list