英文: Adding dataframe column with frequency counts for several pre-specified words in R 问题 我有一个包含成千上万...
我有一列越南字符,当其作为 .csv 文件导入到 R 时无法正确读取。
英文: I have a column of Vietnamese characters that can't be properly read by R when imported as a...
增加一个因子水平的geom_point大小
英文: Increase size of geom_point for one factor level 问题 想要增加仅在因子变量 cyl == 6 的数据点的 size。如何实现? ggplot(...
在R中提取列表中的数据框。
英文: Extracting dataframes inside a list in R 问题 我有两个数据框,它们被放入一个列表中。如何将这两个数据框分开提取?列表名称是 new_dfs,里面包含的...
根据日期和唯一标识分配数字
英文: Assign number based on date and unique identifier 问题 日期 标签 捕获顺序 1/21/22 001 1 1/22/22 001 2 1/23...
R中时间序列的滚动均值,包括缺失日期。
英文: Rolling mean of time series with missing dates in R 问题 以下是代码部分的翻译: R初学者,使用`tidyverse` / RStudio。...
在图表中心创建新坐标轴:ggplot
英文: Create new axis at the center of the graph: ggplot 问题 我想为现有的图表创建一个新的坐标轴。我可以使用geom_line层来实现这一点,但如...
在 R 中更改 text_tokens 函数的输出
英文: changing the output of text_tokens function in R 问题 关于使用corpus包和text_tokens()函数进行文本挖掘的问题。我想使用该函数...
Quarto在条件语句内部未正确呈现图表。
英文: Quarto not rendering figures properly inside a conditional statement 问题 我正在使用 quarto 创建一个 HTML 文...
dplyr & groups : what is the difference between keep and ungroup or directly drop?
英文: dplyr & groups : what is the difference between keep and ungroup or directly drop? 问题 我需要对同一...
298