tidyverse_pipeline.r

Rエキスパート

Explorer

C40
C++40
C#40
Dart40
Go40
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R
初級10
中級10
上級10
エキスパート5
tidyverse_pipeline.r
s3_method.r
closure_factory.r
vectorized_apply.r
rlang_quasiquote.r
マスター5
Ruby40
Rust40
Shell40
Swift40
TypeScript40
tidyverse_pipeline.r
Click to focus
1
2
3
4
5
df %>%
 mutate(across(where(is.numeric), ~scale(.x)[,1])) %>%
 group_by(category) %>%
 summarise(across(starts_with("val"), list(mean = mean, sd = sd))) %>%
 pivot_longer(-category, names_to = c(".value", "stat"), names_sep = "_")
0WPM0%0:000/230(0%)|Ln 1, Col 1
UTF-8R

関連する練習問題