is there a way in basic R to modify the pch point types by just rotating them? I´d need a pointing-right triangle (with its base parallel to the y axes).
x <- runif(5)
y <- runif(5)
plot(x, y, pch = 17, cex = 2) #is there a parameter for rotation?
Alternatively, how could I change the arrowhead in arrows() with a filled triangle?
plot(x, y, pch = "")
arrows(x, y, x-0.03, y, code = 1) #is there a parameter for the arrowhead symbol?
thanks for your help!
Sara