GoodMorning to everyone,
I’m trying to make an animated plot with plotly and it worked pretty good with the following code:
p <- ggplot(ph2, aes(variable, value, color = variable)) +geom_point(aes(size = value, frame = ID))
p2<- ggplotly ( p )
but then I would like to have barplot and not geom point so I try to use geom_bar but i get:
Error in data$group: invalid argument of unary operator
How can I make a barplot as animation plot?
thanks a lot for your help
Andrea