英文: How can I transpose a data frame in R so that a certain column becomes column names and another ...
在R中检查前一行并找到数字何时变为零。
英文: Check the previous row and find when the number change to zero in R 问题 您想要创建一个名为 pre_dur 的新列,其中包...
使用提供的数据集,在R中如何创建一个分组条形图可视化。
英文: How can I create a grouped bar plot visualisation in R using the given dataset 问题 如何在R中为以下数据集创建一...
在R中找到上一行的最后一个字符
英文: Find the very last character of the previous row in R 问题 以下是翻译的内容: 让我们假设我有一个像这样的数据框: d <- dat...
如何使用dplyr从原始数据集中获取一组的最大值以及另一列的相应值。
英文: How to get maxium value of a group and corresponding value from another column of the original d...
Count the number of types in the groups of data frame using R.
英文: Count the number of types in the groups of data frame using R 问题 我有这样的数据: ```R data<-data...
如何在 `dplyr::join_by` 中将使用组变量的连接与不等连接结合起来?
英文: How can I combine a join using group variables with inequality joins in `dplyr::join_by`? 问题 I w...
在数据框中筛选符合多个条件的行。
英文: Subset the rows in a dataframe that match multiple conditions 问题 I understand your request. Here...
Mutate new columns and intercalate them with old ones.
英文: Mutate new columns and intercalate them with old ones 问题 以下是您要翻译的内容: "我想使用 across 创建新列,并使这些...
更改多个列中的多个值的非逐行方法,如果它们存在于其他列中。
英文: Non-rowwise method to change multiple values in columns if present in other columns 问题 Here's th...
43