Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Підсумок | Фактори
Вступ до R: Частина 1
course content

Зміст курсу

Вступ до R: Частина 1

Вступ до R: Частина 1

1. Базовий Синтаксис та Команди
2. Вектори
3. Фактори

Підсумок

Якщо ви хочете підрахувати кількість входжень кожного значення у векторі, функція summary() є саме тим, що вам потрібно.

12345
# Factor variable curr_f <- factor(c('USD', 'EUR', 'AUD', 'NOK', 'CHF', 'EUR', 'AUD', 'EUR')) # Show summary summary(curr_f)
copy

Remember, the sequence of the levels reported by summary() corresponds to the order defined when you used the factor() function. If no order is defined, it defaults to numerical or alphabetical order.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

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

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

Секція 3. Розділ 4
toggle bottom row

Підсумок

Якщо ви хочете підрахувати кількість входжень кожного значення у векторі, функція summary() є саме тим, що вам потрібно.

12345
# Factor variable curr_f <- factor(c('USD', 'EUR', 'AUD', 'NOK', 'CHF', 'EUR', 'AUD', 'EUR')) # Show summary summary(curr_f)
copy

Remember, the sequence of the levels reported by summary() corresponds to the order defined when you used the factor() function. If no order is defined, it defaults to numerical or alphabetical order.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

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

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

Секція 3. Розділ 4
toggle bottom row

Підсумок

Якщо ви хочете підрахувати кількість входжень кожного значення у векторі, функція summary() є саме тим, що вам потрібно.

12345
# Factor variable curr_f <- factor(c('USD', 'EUR', 'AUD', 'NOK', 'CHF', 'EUR', 'AUD', 'EUR')) # Show summary summary(curr_f)
copy

Remember, the sequence of the levels reported by summary() corresponds to the order defined when you used the factor() function. If no order is defined, it defaults to numerical or alphabetical order.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

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

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

Якщо ви хочете підрахувати кількість входжень кожного значення у векторі, функція summary() є саме тим, що вам потрібно.

12345
# Factor variable curr_f <- factor(c('USD', 'EUR', 'AUD', 'NOK', 'CHF', 'EUR', 'AUD', 'EUR')) # Show summary summary(curr_f)
copy

Remember, the sequence of the levels reported by summary() corresponds to the order defined when you used the factor() function. If no order is defined, it defaults to numerical or alphabetical order.

Завдання

For the grades data mentioned earlier, compute the frequency of each grade within the grades_f factor.

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