1. 학습
  2. /
  3. 강의
  4. /
  5. Dealing With Missing Data in R

Connected

연습 문제

Fix explicit missings using fill()

One type of missing value that can be obvious to deal with is where the first entry of a group is given, but subsequent entries are marked NA.

These missing values often result from empty values in spreadsheets to avoid entering multiple names multiple times; as well as for "human readability".

This type of problem can be solved by using the fill() function from the tidyr package.

지침

100 XP
  • Use fill() to fill down the "name" observations in the frogger dataset.