A brew of utility and convenience functions

aovtable | Wrapper around 'aov' with better output. |

betas | Extract betas from an lm object. |

blockRandomLists | Block randomize a set of trials. |

char2int | Map character elements to integer elements. |

cocaCohort | Get lexical cohort. |

cocaLemma2words | Get attested wordforms for the specified lemma. |

cocaLemmaFreq | Summed wordform frequencies for a lemma. |

cocaLemmaSet | Return the set of wordforms associated with a lemma. |

cocaNeighbors | Find lexical neighbors. |

cocaReadFreq | Read CoCA word frequency table. |

cocaSimpleWordClass | Simplify CoCA (CLAWS7) part-of-speech tags. |

cocaWord2lemmas | Get lemmas for the specified wordform. |

compcorr | Fisher's Z test for comparing two correllation coefficients. |

corrTable | Get correlation table for numerical matrix M. |

cosinedist | Compute cosine distance. |

fact2char | Coerce a vector of class "factor" to character |

fact2num | Coerce a vector of class "factor" to numeric. |

gammaDistHist | Histogram of gamma distribution. |

ggCaterpillar | Plot random effects from lmer fit. |

ggQQplot | Create and plot a QQ plot matrix. |

glmerProb | Empirical and implied probabilities for binomial outcome... |

invBoxCox | Inverse Box-Cox transform. |

invLogit | Logits to probabilities. |

iplot | Plot eye-movement summaries by sentence region. |

is.even | Is n even? |

is.numeral | Can vector be coerced to numeric? |

is.odd | Is n odd? |

is.wholenumber | Can each element of x reasonably be interpreted as a whole... |

levelOrder | Reorder factor levels. |

locate | Translate relative coordinates (pos) to data coords. |

mahalDist | Get squared Mahalanobis distances for N observations in M... |

mahalPlot | QQplot of squared mahalanobis distance against Chi-square... |

matlabDelim | Function for exporting data.frame to matlab-suitable tab... |

nobs | Number of non-missing values. |

normal2 | Normal curve plot |

normalDistHist2 | Plot histograms of two different theoretical normal... |

normalProps | Figure showing 68%-95%-99.7% Rule for normal curve. |

normalRegion | Plot normal curve with middle region painted. |

normalSampHist2 | Plot histograms for two samples drawn from Normal... |

outlierCheck | Outlier summary. |

outlierID | Locate outliers. |

outlierTrim | Replace outliers with NA. |

print.aovtable | Prints an anova table generated by aovtable() |

qqp | Quantile-Quantile plot for a variable within a data.frame. |

read.mer | Read a 'merge' file (*.mer), as might be exported from... |

regtable | Customized regression table. |

se | Standard error of the mean. |

seP | Standard Error of a Proportion. |

series | Find sequences of integers in numeric vector v. |

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.