R is dynamic, to say the least. More precisely, it is organic, with new functionality and add-on packages appearing constantly. And because of its open-source nature and free availability, R is quickly becoming the software of choice for statistical analysis in a variety of fields. Doing for R what Everitt's other Handbooks have done for S-PLUS, STATA, SPSS, and SAS, A Handbook of Statistical Analyses Using R presents straightforward, self-contained descriptions of how to perform a variety of statistical analyses in the R environment. From simple inference to recursive partitioning and cluster analysis, eminent experts Everitt and Hothorn lead you methodically through the steps, commands, and interpretation of the results, addressing theory and statistical background only when useful or necessary. They begin with an introduction to R, discussing the syntax, general operators, and basic data manipulation while summarizing the most important features. Numerous figures highlight R's strong graphical capabilities and exercises at the end of each chapter reinforce the techniques and concepts presented. All data sets and code used in the book are available as a downloadable package from CRAN, the R online archive. A Handbook of Statistical Analyses Using R is the perfect guide for newcomers as well as seasoned users of R who want concrete, step-by-step guidance on how to use the software easily and effectively for nearly any statistical analysis.
Newcomers to R are often intimidated by the command-line interface, the vast number of functions and packages, or the processes of importing data and performing a simple statistical analysis. The R Primer provides a collection of concise examples and solutions to R problems frequently encountered by new users of this statistical software. Rather than explore the many options available for every command as well as the ever-increasing number of packages, the book focuses on the basics of data preparation and analysis and gives examples that can be used as a starting point. The numerous examples illustrate a specific situation, topic, or problem, including data importing, data management, classical statistical analyses, and high-quality graphics production. Each example is self-contained and includes R code that can be run exactly as shown, enabling results from the book to be replicated. While base R is used throughout, other functions or packages are listed if they cover or extend the functionality. After working through the examples found in this text, new users of R will be able to better handle data analysis and graphics applications in R. Additional topics and R code are available from the book s supporting website at www.statistics.life.ku.dk/primer/