% select(-total_litres_of_pure_alcohol) %>% rename(beer = beer_servings, spirit = spirit_servings, wine = wine_servings) ////////////////////////////////////////////// drinks_smaller % filter(country %in% c("USA", "China", "Italy", "Saudi Arabia")) %>% select(-total_litres_of_pure_alcohol) %>% rename("beer" = "beer_servings", "spirit" ="spirit_servings","wine" = "wine_servings") | Ask questions on any topic, get real answers from real people. Have a question? Ask it. Know an answer? Share it." /> % select(-tota" />
ANSWERS: 1
  • If the input of a function is limited to strings, the quotation marks are redundant.

Copyright 2020, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy