Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Tidying Data with tidyr | Data Cleaning and Wrangling Essentials
/
Data Cleaning and Wrangling in R
Seção 1. Capítulo 10
single

single

bookChallenge: Tidying Data with tidyr

Deslize para mostrar o menu

Tarefa

Deslize para começar a programar

In this challenge, you will practice reshaping and tidying a dataset using tidyr functions. You will convert the dataset to long format with pivot_longer(), and then split a combined column into two separate columns using separate().

  • Use pivot_longer() to convert the score columns into a long format, creating a column named subject_year and a column named score.
  • Use separate() to split the subject_year column into two columns: subject and year.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 10
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt