更新时间:2022-12-09 14:18:29
请提供数据的可复制示例.
Please provide a reproducible example of your data.
只需假设您要执行的操作即可:
Just assuming what you're trying to do:
data <- data.frame(x = rep(1:10,1), y = rep(11:20, 1))
data %>%
rowwise() %>%
mutate(mean = mean(x + y + ...))
根据您的评论:填写x + y + ...