英文: Arrange column alphabetically in tidyverse 问题 我有: df = data.frame(col1 = c("A","b...
在R中获取两个符号之间的文本。
英文: Get text between two symbols in R 问题 这可能听起来像是一个重复的问题,但我已经花了最后一个小时寻找答案,却无法将其他类似问题的解决方案应用于这个问题。 我有...
提取两个点和一个句点之间的字符串。
英文: How to extract a string between two points and a dot 问题 我想提取冒号后和点号前的数字序列,即22334455。我尝试使用gsub(&qu...
使用”Yardstick”来计算每个分组预测的均方根误差(RMSE)。
英文: Using Yardstick to calculate RMSE for aggregate of predictions per group 问题 有时候,我不想评估我的模型在预测单个观察...
使用ifelse在列之间进行变异
英文: mutate across columns with ifelse 问题 这是我的数据集: library(stringr) library(dplyr) library(fastDummie...
将WSG84转换为UTM,rgdal的替代方案
英文: Converting WSG84 to UTM, rgdal alternatives 问题 我有许多现有的脚本,其中我使用rgdal包中的project()函数来将WSG84纬度/经度坐标转...
系统软件能对R包功能造成多大干扰?
英文: How strongly can system software interfere with R package functionality? 问题 背景: 我正在尝试建立一个设置,可以创建...
error when applying functions like replace_na() from tidyr on labelled columns of dataframe in R
英文: error when applying functions like replace_na() from tidyr on labelled columns of dataframe in R...
在数据表中计算每个分组中等于最大值的记录数。
英文: Count Records Equal to Max in Data.Table within group 问题 我想计算在每个组中有多少行等于最大值(在data.table中)。我知道如何从...
在R中基于多列数值删除行。
英文: Removing rows based on the values in multiple columns in R 问题 在我的数据中,如果三列(V1、V2、V3)中的值是12和NA的组合(...
298