R is now the most widely used statistical software in academic science and it is rapidly expanding into other fields such as finance. R is almost limitlessly flexible and powerful, hence its appeal, but can be very difficult for the novice user. There are no easy pull-down menus, error messages are often cryptic and simple tasks like importing your data or exporting a graph can be difficult and frustrating. Introductory R is written for the novice user who knows a little about statistics but who hasn't yet got to grips with the ways of R. This new edition is completely revised and greatly expanded with new chapters on the basics of descriptive statistics and statistical testing, considerably more information on statistics and six new chapters on programming in R. Topics covered include
1) A walkthrough of the basics of R's command line interface
2) Data structures including vectors, matrices and data frames
3) R functions and how to use them
4) Expanding your analysis and plotting capacities with add-in R packages
5) A set of simple rules to follow to make sure you import your data properly
6) An introduction to the script editor and advice on workflow
7) A detailed introduction to drawing publication-standard graphs in R
8) How to understand the help files and how to deal with some of the most common errors that you might encounter.
9) Basic descriptive statistics
10) The theory behind statistical testing and how to interpret the output of statistical tests
11) Thorough coverage of the basics of data analysis in R with chapters on using chi-squared tests, t-tests, correlation analysis, regression, ANOVA and general linear models
12) What the assumptions behind the analyses mean and how to test them using diagnostic plots
13) Explanations of the summary tables produced for statistical analyses such as regression and ANOVA
14) Writing functions in R
15) Using table operations to manipulate matrices and data frames
16) Using conditional statements and loops in R programmes.
17) Writing longer R programmes.
The techniques of statistical analysis in R are illustrated by a series of chapters where experimental and survey data are analysed. There is a strong emphasis on using real data from real scientific research, with all the problems and uncertainty that implies, rather than well-behaved made-up data that give ideal and easy to analyse results.
1) A walkthrough of the basics of R's command line interface
2) Data structures including vectors, matrices and data frames
3) R functions and how to use them
4) Expanding your analysis and plotting capacities with add-in R packages
5) A set of simple rules to follow to make sure you import your data properly
6) An introduction to the script editor and advice on workflow
7) A detailed introduction to drawing publication-standard graphs in R
8) How to understand the help files and how to deal with some of the most common errors that you might encounter.
9) Basic descriptive statistics
10) The theory behind statistical testing and how to interpret the output of statistical tests
11) Thorough coverage of the basics of data analysis in R with chapters on using chi-squared tests, t-tests, correlation analysis, regression, ANOVA and general linear models
12) What the assumptions behind the analyses mean and how to test them using diagnostic plots
13) Explanations of the summary tables produced for statistical analyses such as regression and ANOVA
14) Writing functions in R
15) Using table operations to manipulate matrices and data frames
16) Using conditional statements and loops in R programmes.
17) Writing longer R programmes.
The techniques of statistical analysis in R are illustrated by a series of chapters where experimental and survey data are analysed. There is a strong emphasis on using real data from real scientific research, with all the problems and uncertainty that implies, rather than well-behaved made-up data that give ideal and easy to analyse results.