R 使用库“;ggplot2”;创建显示至少出现2000次的令牌频率的可视化
这是我目前正在处理一个名为“q_content”的专栏的代码 我的错误:R 使用库“;ggplot2”;创建显示至少出现2000次的令牌频率的可视化,r,ggplot2,text,nlp,R,Ggplot2,Text,Nlp,这是我目前正在处理一个名为“q_content”的专栏的代码 我的错误: *Error: Must group by variables found in `.data`. * Column `q_content` is not found. Run `rlang::last_error()` to see where the error occurred.* 没有列q\u内容的错误不是很具体吗?使用生成的data.frame和您的代码工作的列。但是有一个q_content列…尝试以下行创建一
*Error: Must group by variables found in `.data`.
* Column `q_content` is not found.
Run `rlang::last_error()` to see where the error occurred.*
没有列
q\u内容的错误不是很具体吗?使用生成的data.frame和您的代码工作的列。但是有一个q_content列…尝试以下行创建一个虚拟数据对象:tidy_text=data.frame(q_content=sample(x=c(“a”、“a”、“B”、“B”、“c”、“D”、“E”、“F”),replace=T,size=15000))
脚本开头和结尾的*
是什么意思?您是否可以将dput(head(tidy_text,100))
的输出添加到您的问题中,以便其他人可以看到数据中的内容,并支持您找到更好的答案?
*Error: Must group by variables found in `.data`.
* Column `q_content` is not found.
Run `rlang::last_error()` to see where the error occurred.*