Nicola Sturaro Sommacal wrote:
Dear R users,
I realise a scatterplot by
plot(x,y)
and I add the labels by
text(x,y,labels,pos=1).
How can I avoid, automatically, that labels overlap, like happen in SPSS?
Hi Nicola,
thigmophobe.labels in the plotrix package tries to avoid label crashes,
and you can (see the help page) modify the position of a few labels if
it doesn't quite succeed.
Jim
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.