Collection of tools developed for the Summer Programme in Data Analysis 200-2012

abind | Bind comformable arrays |

acond | Transform a frequency table into relative frequencies... |

agg | Create a data frame at a higher level of aggregation with a... |

anon | Remove names |

approx.Z | Approximation for semi-parametric splines |

as.data.frame.wald | Transform output of a Wald test into a data frame |

assn | Assign in a pipeline |

atotal | Add all marginal sums to an array |

auto | Creates an autonym |

basis | Orthogonal basis for column space of a matrix |

capply | Apply a function within each cluster of multilevel data |

case | Vectorized ifelse with multiple conditions |

cell | Confidence ellipse |

change | Replace elements of x with correspondingly named elements of... |

coef.wald | Extract coefficients from Wald object |

coffee | Artificial data set on Coffee Consumption, Heart Damage Index... |

cols | Colour collection |

ConjComp | Conjugate complement of span(X) in span(Z) with respect to... |

constant | Generic test for constant |

cvar | Create a contextual variable for regression |

Diff | Contextual diff |

DiffI | Contextual diff with intrapolation |

disp | Print the name and value of a variable in a function |

dot-mat2arr | Display matrix |

dropLast | Drop last facet of array |

dropLastTotal | Drop last elements of an array if it is a "Total" |

dropone | Drop each row or cluster from a fitted object |

Drugs | Longitudinal study of schizophrenia symptoms with... |

dvar | Create a centered-within-groups variable for regression |

ell | Ellipses in 2D |

f2L | Turns a factor of a PD matrix to a left-triangular factor |

f2R | Turns a factor of a PD matrix to a right-triangular factor |

fillin | Fill in values |

getData | Extract the model data frame for various fitting methods |

getex | Extract or remove a substring |

getFactorNames | get the names of variables that are factors |

getFix | Get information on fixed effects from a model object |

getG | Extract R, G or V matrix in a mixed or GLS model |

getX | Design matrix for a fit possibly on a new data frame |

gicc | Generalized intraclass correlation coefficient for multilevel... |

grapes-and-grapes | intersect as a binary operator |

grapes-greater-than-grapes | Pipe from magrittr |

grapes-less-grapes | setdiff as a binary operator |

grapes-or-grapes | union as a binary operator |

grepv | Grep with value = T |

gsp | General regression splines with variable degrees and... |

gspf.1 | Marked for deletion |

gsub_ | Methods providing versions of sub and gsub for pipelines and... |

here | Directory or filename of active R script |

hsfull | Math achievement and ses in a sample of 160 U.S. schools from... |

hw | Articial data with classical outliers. |

Indonesia | Respiratory infections among Indonesian children.... |

iq | Longitudinal study of IQ after traumatic brain injuries |

jk_wtd_means | Post-stratification jacknife estimates of standard error |

jk_wtd_mean_se | Post-stratification jacknife estimate of SE of weighted mean |

labs | Assign, extract and print labels |

Lag | Contextual lag with intrapolation |

LagI | Contextual lag with intrapolation |

Lall | Hypothesis matrix to test for lmer objects |

Lc | Hypothesis matrix for lmer objects: comparisons with... |

Lcall | Construct hypothesis matrix to test ???? |

lchol | Left Cholesky factor |

Ldiff | Hypothesis matrix to test differencs in factor levels |

Ldiff.old | Older version of Ldiff |

Ldiff.rdc | Version of Ldiff used in RDC |

Lequal | Hypothesis matrix to test equality of factor level effects |

Levels | Levels of a factor or unique values of a vector |

Lform | Hypothesis matrix generated by expressions |

Lfx | Hypothesis matrix generated by expressions for each column or... |

lin_comb | Linear combination of x |

Lmat | Generate a hypothesis matrix |

Lmu | Estimate predicted response for a factor level. |

Lrm | Construct hypothesis matrix to test repeated measures factor... |

M | Method to generate hypothesis matrices from formulas |

map | Apply a mapping to a vector |

migraines | Effectiveness of migraine treatment |

na20 | Transform NAs to 0 |

na2f | Change NAs to FALSE |

na2t | Change NAs to TRUE |

na.include | na.include action |

name | Modify the name of an object and return the renamed object |

OrthoComp | Orthogonal basis for the orthogonal complement of the column... |

pal | Generate a palette of colours - possibly superseded |

pals | Display selected colors n at a time |

panel.box | Panel functions for predicted values and SE box |

panel.dell | Draw data ellipse |

panel.fit | Panel functions for predicted values and SE bands |

panel.subgroups | Panel function to display subgroups within groups within... |

part | Intersection and symmetric differences of two sets |

pch | Easy pch characters |

pdConstruct.pdInd | Construct pdInd object |

pdFactor.pdInd | Factor of a pdInd object. |

pdInd | Construct pdInd object |

pdMatrix.pdInd | pdMatrix method for pdInd objects |

pfmt | Displaying p-values |

PolyShift | Transformation of polynomial coefficients to change origin... |

print.cat | Print method for 'cat' objects |

print.tab | Print method for 'tab' object |

print.wald | Print method for wald objects |

Proj | Projection matrix |

Proj.1 | Projection matrix |

Proj.test | Test accuracy of projection method. |

Rbind | Stack data frames vertically |

Read_excel | Wrapper for read_excel in 'readxl' package |

rnd | Round and format |

rpfmt | Displaying p-values with estimates |

run | Evaluate character strings as an expression |

sampler | Show available characters, colours, etc. |

sc | Hypothesis matrix fpr gemeral regression splines |

smspline | Generate a smoothing spline |

smspline.v | smspline.v from library splines with better ginverse |

solve.pdInd | solve method for pdInd objects. |

sortdf | Order the rows of a data frame |

spida2 | spida2: Functions used in the Statistical Consulting Service... |

spline.E | Spline estimation function |

spline.T | Spline tranformation matrix |

sub_ | Methods providing versions of sub and gsub for pipelines and... |

survey | Functions for post-stratification adjustments in surveys |

tab | Table of frequencies or relative frequencies bordered with... |

tab_ | tab without marginal totals |

tab__ | tab without marginal totals and 'All' |

tab_df | Return a table as as data frame |

tablemissing | Tabulate and visualize missing values |

td | Set lattice parameters for multiple groups |

test1 | test1 to see how to combine different function |

tolong | Create a long file from a wide file |

tolong_2 | Long data set from wide data set |

towide | Wide data set from long data set |

tr | Translate elements of a character vector |

tran | Translate elements of a vector |

up | Create a data frame at a higher level of aggregation |

up_apply | Apply a function to clusters of rows in a data frame |

varLevel | Identify level of aggregation at which a variable in... |

Vcov | Generic 'vcov' extended to objects with a 'getFix' method |

wald | General Linear Hypothesis for the 'fixed' portion of a model... |

walddf | Wald function producing a data frame for graphing |

wtd_mean | Weighted mean |

xqplot | Extended Quantile Plots |

years | Get the year of a Date object |

yscale.components.log100real | Plot '100 x log scale' data with real scale on right |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.