Displaying 3 results from an estimated 3 matches for "wshed".
Did you mean:
shed
2004 Jul 16
3
sas to r
I would be incredibly grateful to anyone who'll help me translate some
SAS code into R code.
Say for example that I have a dataset named "dat1" that includes five
variables: wshed, site, species, bda, and sla. I can calculate with the
following SAS code the mean, CV, se, and number of observations of
"bda" and "sla" for each combination of "wshed," "species," and "site,"
restricting the species considered to only three of...
2003 Jun 10
1
color coding a legend
...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","US.RD","US.SF") # the groups in
cv.wshed.grp
legend(-6....
2009 Apr 07
1
axis values on lattice log-scale plot
I'm plotting the following (stripped of inessentials)
xyplot(sd ~ distance | wshed,data=sdvar.df,scales=list(x=list
(log=TRUE),y=list(log=TRUE)))
sdvar.df is a data frame, sd and distance are numeric, wshed is an
ordered factor
trying to replicate the action of log="xy" in plot()
The plot works fine but the axis values at the ticks are in
scientific notation,...