devtools::install_github("rstudio/EDAWR")
library(EDAWR)
gather(population,key="year",value="population",`1995`:`2013`)
Error: Can't subset columns that don't exist.
x Column `1995` doesn't exist.
Run `rlang::last_error()` to see where the error occurred.
gather(EDAWR::population,key="year",value="population",`1995`:`2013`)
我写信问为什么第一个代码不正确,而第二个代码是正确的?顺便说一句,符号EDAWR::population
是否与 相同population
?