All functions

NIRmilk

NIRmilk

add_int()

Add interaction columns to data frame

add_pred()

Add predicted values of different types to dataframe

add_resid()

Add residuals of different types to dataframe

align_coefs()

Align and combine fixed-effect coefficients from multiple models

beets

beets data

binomial_to_bernoulli_data()

Convert binomial data to bernoulli data

bquote_fun_list()

Backquote a list of functions

lapply_by() lapplyBy() sapply_by() sapplyBy()

Formula based version of lapply and sapply

lm_by() lmBy()

List of lm objects with a common model

order_by() orderBy()

Ordering (sorting) rows of a data frame

sample_by() sampleBy()

Sampling from a data frame

split_by() splitBy() head(<splitByData>) tail(<splitByData>) split_by.legacy() splitBy.legacy()

Split a data frame into groups defined by variable(s)

subset_by() subsetBy()

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

summary_by() summaryBy()

Groupwise summary statistics

transform_by() transformBy()

Function to make groupwise transformations

scaleBy() scale_by()

Group-wise scaling of data

carcass

Lean meat contents of 344 pig carcasses

child_growth

Berkeley Growth Study data

codstom

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

crickets

crickets data

crimeRate

crimeRate

crime_rate

crimeRate

cropyield

Yield from Danish agricultural production of grain and root crop.

cv_glm_fitlist()

Cross-validation for list of glm objects

prostate

Prostate Tumor Gene Expression Dataset

wine

Chemical composition of wine

breastcancer

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

budworm

Budworm data

cad1

Coronary artery disease data

mathmark

Mathematics marks for students

personality

Personality traits

descStat()

Computing simple descriptive statistics of a numeric vector.

dietox

Growth curves of pigs in a 3x3 factorial experiment

.rhsf2list()

Convert right hand sided formula to a list

esticon() coef(<esticon_class>) summary(<esticon_class>) confint(<esticon_class>) vcov(<esticon_class>)

Contrasts for lm, glm, lme, and geeglm objects

expr_to_fun()

Convert expression into function object.

fatacid

Fish oil in pig food

fev

Forced expiratory volume in children

lastobs() firstobs()

Locate the index of the first/last unique value

formula_add_str() formula_add() formula_poly() formula_nth() formula_to_interaction_matrix() formula_chr_to_form() to_str() terms_labels() simplify_rhs() as_rhs_frm() as_lhs_frm() as_rhs_chr() as_lhs_chr() unique_formula()

Formula operations and coercion.

generate_data_list()

Generate data list

get_formulas()

Get formulas from model_stability_glm_class object

haldCement

Heat development in cement under hardening.

head2() tail2()

head and tail for matrices

income

income data

interaction_plot()

Two-way interaction plot

is_estimable()

Determines if contrasts are estimable.

get_xlevels() get_contrasts() set_xlevels() get_vartypes() set_covariate_val() get_X()

Auxillary functions for computing lsmeans, contrasts etc

LE_matrix() aggregate_linest_list() get_linest_list()

Linear estimates matrix

linest() confint(<linest_class>) coef(<linest_class>) summary(<linest_class>)

Compute linear estimates

LSmeans() popMeans()

Compute LS-means (aka population means or marginal means)

math_teachers

Height of math teachers

mb_summary() summary_mb()

Fast summary of microbenchmark object

milkman

Milk yield data for manually milked cows.

model_stability_glm()

Model stability for glm objects

nir_milk

nir_milk

parseGroupFormula()

Extract components from a formula with "conditioning bar"

pick1() pick2()

Extract (pick) elements without using brackets

reciprocal() pow() add() subtract() mult() divide()

Pipe-friendly arithmetic helpers

plot_lm()

Plot linear model object

potatoes

Weight and size of 20 potatoes

rbind_list()

Bind list of data frames and add list names as a column

recodeVar() recode_var()

Recode values of a vector

recover_pca_data()

Recover data from principal component analysis

renameCol()

Rename columns in a matrix or a dataframe.

response()

Get response variable from model

response_plot()

Plot the response variable against the predictor variables.

scale_df()

Scale numeric variables in a data frame

set_default() section_fun() section_fun_sub() section_fun_env() get_section() get_fun()

Section a function and set default values in function

set_list2matrix() matrix2set_list()

Matrix representatation of list of vectors and vice versa

shoes

shoes

split_bycol() split_byrow()

Split matrix or dataframe into list

sub_seq() subSeq()

Find sub-sequences of identical elements in a vector.

taylor()

Taylor expansion (one dimension)

tidy(<esticon_class>)

Tidy an esticon object

tidy(<linest_class>)

Tidy a linest object

time_since_event() timeSinceEvent()

Calculate "time since event" in a vector

truncate0()

Truncate values in a matrix / vector to zero if they are below a certain threshold.

v()

Shorthand for vparse()

vcheck()

Check if variables exist in a data frame

vmap()

Apply a function to each parsed variable name

vparse()

Variable utilities: parse, select, check, map, rename

vrename()

Rename columns in a data frame

vselect()

Select columns from a data frame using flexible input

which.maxn()

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