[R] Is there a function for scatter3d with Categorical responses?

2012-02-16 Thread Steve_Friedman
Hello, I'm working with a series (30+) of hydrologic metrics and 10 vegetation communities and I need to determine which of the metrics provide the best separability for each of the vegetation communities. The hydrologic metrics are highly correlated, therefore the need to reduce the number

Re: [R] Is there a function for scatter3d with Categorical responses?

2012-02-16 Thread John Fox
Dear Steve, It's not obvious to me what you want to do. If you want ellipsoids for MeanAnnualDepth, Hydroperiod, and MedianWet, which sound as if they are numeric variables, separately for each VegtypeID, which is presumably a factor with several sets of measurements for each value, then

Re: [R] Is there a function for scatter3d with Categorical responses?

2012-02-16 Thread Steve_Friedman
John, I would like ellipsoids to represent the distributions relative to each of the vegetation types. I tried your approach thinking that it would work as well, but I'm getting an error scatter3d(MADep2004 ~ Dhydro2004 + MedWet2004 | VegtypeID, ellipsoid=TRUE. data= CSSS) Error in sprintf

Re: [R] Is there a function for scatter3d with Categorical responses?

2012-02-16 Thread John Fox
Dear Steve, I'm very busy this morning, so will reply briefly: the error message is self-explanatory (though the error message itself has an error in it, which prevented the numbers from being printed as intended): you have to define more colours -- one for each level of VegtypeID; if you want to