Skip to main content
The Carpentries Pre-Alpha This lesson is in the pre-alpha phase, which means that it is in early development, but has not yet been taught.

    The Carpentries
    Programming with R for Official Statistics
    • Programming with R for Official Statistics
    • Key Points
    • Instructor Notes
    • Extract All Images

      • Discussion
      • Glossary
    Search the All In One page
    Programming with R for Official Statistics
    %
  • Learner View

    Summary and Schedule
    1. Introduction to Programming
    2. R Fundamentals
    3. Data Types and Structures
    4. Functions
    5. Making Choices
    6. Loops in R
    7. Plotting
    8. Dealing with Messy Data
    9. Best Practices for Writing R Code
    10. Understanding Factors
    11. Outputting Data

    • Key Points
    • Instructor Notes
    • Extract All Images

    • Discussion
    • Glossary

    See all in one page

    Introduction to Programming


    R Fundamentals


    Figure 1

    Image 1 of 1: ‘The 4 Corners of RStudio. Photo courtsey of u/randy3k on the r/rstats subreddit’

    The 4 Corners of RStudio. Photo courtsey of u/randy3k on the r/rstats subreddit

    Data Types and Structures


    Functions


    Making Choices


    Loops in R


    Plotting


    Dealing with Messy Data


    Best Practices for Writing R Code


    Understanding Factors


    Outputting Data



    This lesson is subject to the Code of Conduct

    Edit on GitHub | Contributing | Source

    Cite | Contact | About

    Materials licensed under CC-BY 4.0 by the authors

    Template licensed under CC-BY 4.0 by The Carpentries

    Built with sandpaper (0.16.12), pegboard (0.7.9), and varnish (1.0.6)


    Back To Top