我收到错误消息“找不到对象安装”?

时间:2018-12-18 04:17:25

标签: r

library(dplyr)
playstore <- read.csv("googleplaystore.csv")

str(playstore)      
class(playstore)

playstore <- tbl_df(playstore)

head(playstore)

class(Installs)

1 个答案:

答案 0 :(得分:0)

创建了一些虚拟数据并提出了解决方案。

library(tidyverse)
playstore<-data.frame(AppName=c("DBC","BCD","ECD"),Installs=c(1500,250,100))
playstore %>% 
  mutate(Installs=as.numeric(Installs),AppName=as.factor(AppName)) %>% 
  filter(Installs>1000)

这将产生:

 AppName Installs
1     DBC     1500