I am creating a simple ternary plot.
ggtern(data=data.frame(x=c(0.1,0.1),y=c(0.2,0.2),z=c(0.7,0.7)),aes(x,y,z)) + geom_point()
How can I jitter the point so that the plot will display two points? I tried using position_jitter_tern like so: but it isn't changing anything.
ggtern(data=data.frame(x=c(0.1,0.1),y=c(0.2,0.2),z=c(0.7,0.7)),aes(x,y,z, position_jitter_tern(0.1,0.1,0.1))) + geom_point()
https://stackoverflow.com/questions/67443488/how-to-use-position-jitter-tern-in-ggtern-in-r May 08, 2021 at 10:16AM
没有评论:
发表评论