Posit Community
Help with gather()
tidyverse
tidyr
martin.R
January 22, 2020, 4:32pm
2
library(tidyverse) iris %>% gather("Component", "Value", -Species)
See documentation here:
show post in topic