An R Function Reference Following is an alphabetical list of procedures you may wish to carry out, along with some of the associated functions that may be helpful in that respect. This should in NO WAY be considered a complete listing of R functions! Only functions in the base R default installation are included here (and even as such the list is far from complete). There are MANY more functions and procedures in the optional packages. To get more information on any of the functions, just request the help page, e.g., help(mean). This is a plain text document, so use the back button on your browser to return to the previous page. PROCEDURE FUNCTIONS ------------------------------------------------------------------------------- absolute value abs() addition sum(), + analysis of covariance aov(), lm() analysis of variance aov(), anova(), oneway.test(), lm(), manova() antilogs exp() array (creation of) array() barplot barplot() binomial coefficients choose() binomial distribution dbinom(), pbinom(), qbinom(), rbinom() binomial test binom.test() Box-Cox transformations boxcox() boxplot boxplot() chi-square distribution dchisq(), pchisq(), qchisq(), rchisq() chi-square tests chisq.test() combinations choose() contingency tables table(), xtabs() correlation cor() correlation matrix cor() correlation significance test cor.test() covariance matrix cor(), cov(), var(), cov2cor() cross tabulation xtabs(), table() data frame (working with) data.frame(), dim(), names(), str(), summary(), attach(), detach(), stack(), etc. date date() deciles quantile() descriptive statistics summary(), fivenum(), by(), tapply() division / exponentiation ^, exp() F distribution df(), pf(), qf(), rf() factorial factorial() files (reading in) load(), read.table(), read.csv(), etc. files (saving) save(), write.table(), write.csv(), etc. Fisher Exact test fisher.test() frequency distribution table(), stem() Friedman Rank Sum test friedman.test() generalized linear models glm() help help(), help.search() histogram hist() homogeneity of variance test bartlett.test() interaction line graph interaction.plot() interquartile range IQR() Kolmogorov-Smirnov test ks.test() Kruskal-Wallis test kruskal.test() list (creation of) list() log linear analysis loglin(), loglm(), glm() logarithm log(), log10(), log2(), exp() logistic regression glm() Mann-Whitney test wilcox.test() matrix (creation of) matrix() maximum max(), range(), summary() mean (arithmetic) mean() median median() minimum min(), range(), summary() mosaic plot mosaicplot() multiple regression lm(), update(), step(), etc. multiplication prod(), * normal distribution dnorm(), pnorm(), qnorm(), rnorm() normal probability plot qqplot(), qqnorm(), qqline() package management search(), install.packages(), etc. percentiles quantile() pie chart pie() Poisson distribution dpois(), ppois(), qpois(), rpois() power calculations power.prop.test(), power.t.test(), etc. predictions from a model predict() proportions prop.table() proportion test prop.test(), binom.test() quartiles quantile(), summary() quit R quit() range range() regression (simple linear) lm() regression diagnostic plots plot() regression line (drawing) abline() rounding round() sample size length() samples, simulation sample(), rnorm(), etc. scatterplot plot(), scatter.smooth() scatterplot matrix pairs(), plot() sequences (regular) seq() Shapiro-Wilk test shapiro.test() smoothing plot(density()), scatter.smooth(), lowess() sorting sort(), order() Spearman correlation cor() standard deviation sd() stem-and-leaf display stem() Student's t-test t.test() square root sqrt() subtraction diff(), - t distribution dt(), pt(), qt(), rt() t-test t.test() tables (working with) table(), rbind(), cbind(), t(), ftable(), etc. trig functions sin(), cos(), tan(), asin(), etc. Tukey's HSD test tukeyHSD() uniform distribution dunif(), punif(), qunif(), runif() variance var() vector (creation of) c(), seq(), rep(), scan() Wilcoxin test wilcox.test workspace functions ls(), objects(), rm(), setwd(), getwd(), etc.