R Introduction: Part I

Course Content

R Introduction: Part I

## R Introduction: Part I

1. Basic Syntax and Operations
2. Basic Data Types and Vectors
3. Factors

Complete the task using the `grades` data.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

Everything was clear?

Section 3. Chapter 6

Complete the task using the `grades` data.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

Everything was clear?

Section 3. Chapter 6

Complete the task using the `grades` data.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.

Everything was clear?

Complete the task using the `grades` data.

1. Call the `summary()` function on your `grades_f` variable to output the number of occurrences of each factor grade.
2. Calculate the proportion of each grade, dividing the result of `summary(grades_f)` by the total number of observations using the `length()` function applied to the `grades_f` variable.