Operations and Objects in R

Quarto Notebooks, Operations and Objects

Bogdan G. Popescu

John Cabot University

What You’ll Learn Today

  • How to use .qmd files
  • Basic R syntax and using R as a calculator
  • Understanding objects: numeric, character, and logical
  • Working with vectors, matrices, and data frames
  • Detecting missing values and using key functions like mean(), paste(), and sort()
  • How to write and structure clean, reproducible code in R

By the end, you’ll be able to write simple R scripts and explore your own data.

Using R

Let us now use R to understand how it works.

Let’s create a new quarto document and save it in your “week2” folder.

Using R

Using R

Using R

Using R

Using R

Using R

Using R

Using R