0
male <- filter(nym.2002, gender=="Male") %>% select(time) %>% unlist
# Error in select(., time) : unused argument (time)

Hi! Could you tell me what I did wrong?) Probably I have not downloaded some files...

r2evans
  • 141,215
  • 6
  • 77
  • 149
Fedor
  • 1
  • 1
  • 1
    (1) `%>% select(x) %>% unlist` --> `%>% pull(x)`. (2) Please make this question more reproducible by including representative sample data (e.g., `dput(head(num.2002))`) and the output from `sessionInfo()`. – r2evans Nov 07 '21 at 23:57
  • 1
    This error often occurs because the `MASS` library is loaded and R uses the `select` command from that package. Try `dplyr::select` instead of `select` and see if that helps. – neilfws Nov 08 '21 at 00:10

0 Answers0