문제

I have a plot that I created using thet twoord function. I am trying to make it an interactive graph so that I can hover around a point with my mouse and see what the x,y coordinates are for that plot.

I can't figure out how to do this with the twoord.plot function. Any idea how to do this?

도움이 되었습니까?

해결책

My apologies, I was misreading the R command for identify. FYI, just place this code: identify(x, y, labels=row.names(mydata)) after the plot command and you are able to select points accordingly.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top