filter function in dplyr errors

前端 未结 4 801
终归单人心
终归单人心 2020-12-03 10:45

I have a data frame in R like so called UK_profiles:

row.names   id     name
1   1   8131437     Profile
2   2   8131719     WolverineCompetitio         


        
4条回答
  •  一整个雨季
    2020-12-03 11:03

    I think you need to both install the dplyr package with install.packages("dplyr") and then use the library command library(dplyr) to load dplyr into memory for use.
    For example the mtcars dataset is a part of dplyr, if I only install dplyr and then enter head(mtcars) it doesn't find it. Once I use the library command it is found.

提交回复
热议问题