"Practical Data Analysis using S" by Brian S. Yandell (yandell@stat.wisc.edu). The pda library contains all the functions for the "Practical Data Analysis for Designed Experiments" book by Brian S. Yandell, as used at the University of Wisconsin-Madison for Statistics 850. Items below without titles may not have pages yet --------------------------------------------------------------------------- INTERACTION PLOTS int.plot interval/interaction plots ci.plot confidence interval interaction plot lsd.plot LSD interaction plot margin.plot margin interaction plot(s) tukey.plot Tukey interaction plot mandel.plot Mandel interaction plot ci.width CI width calculation lsd.bar Fisher's LSD bar se.bar standard error bars --------------------------------------------------------------------------- DIAGNOSTIC PLOTS effect.plot plot of MS-adjusted fit effects and residuals effect.fit MS-adjusted fit effects and residuals box.fig draw boxplot figure at specified position trans.plot diagnostic plot: power transform to remove interaction --------------------------------------------------------------------------- PLOTS WITH SYMBOLS mplot multiple plot by group mlines multiple lines by group mpoints multiple points by group mqqnorm multiple Q-Q normal and half-normal plot by group --------------------------------------------------------------------------- READING, PRINTING AND PLOTTING enscript enscript file & send to printer lpr send file to printer (see enscript) lpq check printer queue plotter select graphics device by environment variable ghostview run ghostview of PostScript file dotna reinterpret "." as NA in dataframe --------------------------------------------------------------------------- SUMMARY STATISTICS std.dev standard deviation of vector or linear model harmonic.mean harmonic mean cor.coef correlation of model coefficients cov.coef covariance of model coefficients se.coef standard errors of model coefficients df.resid residual degrees of freedom df.resid.default ... for vector or list of vectors df.resid.lm ... for linear model fit lsmean least square means lsmean.default lsmean.lm sample.size sample size by group sample.size.default sample.size.lm --------------------------------------------------------------------------- GEOMETRY circle draw a circle ellipse draw an ellipse norm.ellipse draw contour ellipses for bivariate normal --------------------------------------------------------------------------- FACTOR NAME UTILITIES all.covariates names of covariates in model fit all.covars names of covariates in model fit all.factors names of factors in model fit all.predictors names of predictors (covariates & factors) model.response name of response in model fit factor.labels labels of factors in model fit get.list get elements from a list unfactor (similar to unclass) char string containing first character of vector elements --------------------------------------------------------------------------- NESTED DESIGNS See also library(nlme) [These routines are in a state of transition.] branch burst split.plot ============================================================================