我是一个初学者,学习如何从R中的数据集中特定的行和列进行子集划分。我使用state.x77 R Studio中的数据集作为练习。当我尝试选择指定的列时,出现以下错误消息: library(dplyr)
library(tibble)
select(state.x77, Income, HS Grad)
Error: unexpected symbol in "select(state.x7
我试图执行基于http://tidytextmining.com/sentiment.html#the-sentiments-dataset情感分析。在执行情感分析之前,我需要将我的数据集转换为整洁的格式。 我的数据集的形式: x <- c("test1" , "test2")
y <- c("this is test text1" , "this is test text2")
res <-