Chapter
Licensed
Unlicensed Requires Authentication

Statistics in R

First steps
  • Joost van de Weijer and Dylan Glynn
View more publications by John Benjamins Publishing Company
Corpus Methods for Semantics
This chapter is in the book Corpus Methods for Semantics

Abstract

The R Project for Statistical Computing is one of the most comprehensive and widely used software options for statistical analysis. Moreover, it is open source, freely available and entirely cross-platform. It is for these reasons that the following chapters all employ R to demonstrate the application and interpretation of statistics. Like the commercially available software SAS, but unlike three other widely used suites (SPSS, Stata, and Statistica), R is principally used in command line. The need to work with commands rather than a graphical user interface can be a challenge for novice users, especially when combined with the task of learning statistics. However, commands given in a step-by-step fashion is arguably simpler than a graphic interface, which can overwhelm the novice user with options. This chapter is an introduction to R focusing on how to import data and make sure those data are in the correct format for analysis. Knowledge of each of these steps is assumed in the following chapters.

Abstract

The R Project for Statistical Computing is one of the most comprehensive and widely used software options for statistical analysis. Moreover, it is open source, freely available and entirely cross-platform. It is for these reasons that the following chapters all employ R to demonstrate the application and interpretation of statistics. Like the commercially available software SAS, but unlike three other widely used suites (SPSS, Stata, and Statistica), R is principally used in command line. The need to work with commands rather than a graphical user interface can be a challenge for novice users, especially when combined with the task of learning statistics. However, commands given in a step-by-step fashion is arguably simpler than a graphic interface, which can overwhelm the novice user with options. This chapter is an introduction to R focusing on how to import data and make sure those data are in the correct format for analysis. Knowledge of each of these steps is assumed in the following chapters.

Downloaded on 13.9.2025 from https://www.degruyterbrill.com/document/doi/10.1075/hcp.43.13wei/html
Scroll to top button