Skip to content
Prev 171135 / 398506 Next

modifying legend in scatterplot matrix R

Julien Beguin <julien.beguin.1 <at> ulaval.ca> writes:
...
In most cases it is easiest to assign new level to the factor;

a = as.factor(c("N","Y","Y","N"))
levels(a)=c("unfenced","fenced")
levels(ar)=c("unfenced","fenced") # if you want to keep orinale


legend has x,y coordinates.

Dieter