How do you write the following code in a regular format without using %>%?

Viewed 203
# install package for this customized spider chart
devtools::install_github("ricardo-bion/ggradar", dependencies=TRUE)

library(ggradar)
suppressPackageStartupMessages(library(dplyr))
library(scales)   

mtcars %>%
   add_rownames( var = "group" ) %>%
   mutate_each(funs(rescale), -group) %>%
   tail(4) %>% select(1:10) -> mtcars_radar

This is code for creating spider/polar chart

 ggradar(mtcars_radar) #gives you the following spider chart

enter image description here

2 Answers
Related