Say I have the following data:
colA <- c(\"SampA\", \"SampB\", \"SampC\") colB <- c(21, 20, 30) colC <- c(15, 14, 12) colD <- c(10, 22, 18) df &l
Package magrittr pipes %>% are not a good way to process by rows. Maybe the following is what you want.
magrittr
%>%
df %>% select(-colA) %>% t() %>% as.data.frame() %>% summarise_all(sd) # V1 V2 V3 #1 5.507571 4.163332 9.165151