library(dplyr)
playstore <- read.csv("googleplaystore.csv")
str(playstore)
class(playstore)
playstore <- tbl_df(playstore)
head(playstore)
class(Installs)
答案 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