search for: lssj

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

Did you mean: lss
2003 Jun 10
1
color coding a legend
...c 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","US.RD","US.SF") # the groups in cv.wshed.grp legend(-6.5, -2.5, leg.txt, pch="1234", col= as.character(codes(cv.wshed.grp))) But this only plots the codes in cv.wshed.grp as they are encountered, not the levels. Ideally I'd like the...