Intro to R and RStudio
Preface
1
Why R and RStudio?
1.1
Why R and Not Another Statistical Program?
1.1.1
Statistical Programs versus Statistical Programming Language
2
Installing R and RStudio
2.1
Objectives
2.2
Installing R
2.3
Installing RStudio
3
A Tour of R and RStudio
4
R As a Statistical Programming Language
4.1
Elements of Statistical Programming
4.1.1
Expressions
4.1.2
Basic Elements of a Good SPL
4.2
Primitive Expressions
4.3
Primitive Data Types:
4.4
Primitive Functions
4.4.1
Operators
4.5
Programming Languages are Not Forgiving
4.5.1
Syntactically valid expressions
4.5.2
Semantically valid expressions
4.6
Assignment
4.7
Combining Expressions
4.8
Complex Data Types
4.9
Grouping Homogeneous Data Types
4.10
Complex Functions
4.11
Abstraction
4.12
Data Abstraction
4.13
Functional Abstraction
4.14
Anatomy of a Function
5
Files, Directories, and Projects
References
Published with bookdown
Introduction to R and RStudio for Statistics Courses
Chapter 3
A Tour of R and RStudio
Learn the basics of using R and RStudio