Hello Community
when I run the following RCode I always get the error message
“Warning: Ignoring unknown aesthetics: frame”
df <- data.frame(
x = c(1,2,3,4),
y = c(1,2,3,4),
f = c(1,2,3,4)
)
p <- ggplot(df, aes(x, y)) +
geom_point(aes(frame = f))
I use the same code as in the intro to animation in ggplot2.
(“https://plot.ly/ggplot2/animations/”)
If someone would explain the problem to me, I would be very grateful.
Many thanks for your help