Closed leahhrlee closed 10 months ago
gap_nomissing <- gap %>% filter(!is.na(gdpPercapita))
gdpPercapita should be gdpPercap
So updated should be:
gap_nomissing <- gap %>% filter(!is.na(gdpPercap))
fill in a conditional statement in filter to keep only rows with non-missing values of gdpPercap
gap_nomissing <- gap %>% filter(!is.na(gdpPercapita))
gdpPercapita should be gdpPercap
So updated should be:
gap_nomissing <- gap %>% filter(!is.na(gdpPercap))