search for: sprrun

Displaying 1 result from an estimated 1 matches for "sprrun".

Did you mean: scrrun
2003 Jun 10
1
color coding a legend
I'm using R 1.6.2 on a Windows 2000 machine. I've plotted the results of an MDS run labeled by a numerical ID, and color coded by a group code: plot(cv.mds.spr$points, type="n", main="Non-Metric Multidimensional Scaling of SprRun CV Watersheds") text(cv.mds.spr$points, labels = as.character(cv.wshed.id.spr), col = codes(cv.wshed.grp), cex=.75) Question is, how do I get the legend to match the color codes? I have tried different permutations of the following: leg.txt <- c("LSSJ.NS","LSSJ.SS",&q...