Skip to Main Content

DPDS Social Sciences Workshop Resources


Email this link:

Recommended

Objectives:

1. Define the following terms as they relate to R: object, assign, call, function, arguments, options.
2. Assign values to objects in R.
3. Learn how to name objects.
4. Use comments to inform script.
5. Solve simple arithmetic operations in R.
6. Call functions and use arguments to change their default options.
7. Inspect the content of vectors and manipulate their content.
8. Subset values from vectors.
9. Analyze vectors with missing data.

Key Points:

1. Access individual values by location using [].
2. Access arbitrary sets of data using [c(...)].
3. Use logical operations and logical vectors to access subsets of data.

Recommended Guides

Online Forums

Recommended Books