Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
What is a Data Frame? | Data Frames
R Introduction: Part II
course content

Зміст курсу

R Introduction: Part II

R Introduction: Part II

1. Matrices
2. Data Frames
3. Lists

What is a Data Frame?

Let's move on to Data Frames. In general, the data frame in R is the same matrix allowing us to store values of different types. This aspect is the crucial difference.

Like in matrices, each element of the data frame has its 'address' among rows and columns. But unlike matrices, data frames must have names on their columns.

R provides us with tens of built-in datasets. Some can be represented as matrices (as they contain only numerical data), and some can be defined as data frames. Explore one of them by yourself!

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 1
toggle bottom row

What is a Data Frame?

Let's move on to Data Frames. In general, the data frame in R is the same matrix allowing us to store values of different types. This aspect is the crucial difference.

Like in matrices, each element of the data frame has its 'address' among rows and columns. But unlike matrices, data frames must have names on their columns.

R provides us with tens of built-in datasets. Some can be represented as matrices (as they contain only numerical data), and some can be defined as data frames. Explore one of them by yourself!

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 1
toggle bottom row

What is a Data Frame?

Let's move on to Data Frames. In general, the data frame in R is the same matrix allowing us to store values of different types. This aspect is the crucial difference.

Like in matrices, each element of the data frame has its 'address' among rows and columns. But unlike matrices, data frames must have names on their columns.

R provides us with tens of built-in datasets. Some can be represented as matrices (as they contain only numerical data), and some can be defined as data frames. Explore one of them by yourself!

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Let's move on to Data Frames. In general, the data frame in R is the same matrix allowing us to store values of different types. This aspect is the crucial difference.

Like in matrices, each element of the data frame has its 'address' among rows and columns. But unlike matrices, data frames must have names on their columns.

R provides us with tens of built-in datasets. Some can be represented as matrices (as they contain only numerical data), and some can be defined as data frames. Explore one of them by yourself!

Завдання

Explore the built-in mtcars dataset.

  1. Using class() function output class of mtcars.
  2. Output mtcars data frame.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 1
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt