FJCC
9
The pipe %>% is part of the magrittr package. You have to load either that package or the dplyr package that will import magrittr. Use
library(magrittr)
#or
library(dplyr)
For your other error, please show your code or, better, a reproducible example.
2 Likes