Closed
Description
The argument position
is not passed through ellipsis to the layer()
command from annotate()
ggplot(mtcars,aes(disp,mpg))+geom_point()+
annotate("text", x=min(mtcars$disp), y=max(mtcars$mpg), label="Value", hjust=0, position=position_nudge(x=10))
#> Warning message:
#> In annotate("text", x = min(mtcars$disp), y = max(mtcars$mpg), label = "Value", :
#> Ignoring unknown parameters: `position`