search for: coltemperatur

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

Did you mean: coltemperature
2009 Nov 05
1
Set colors in a PCA plot based on a gradient vector
...a gradient from red to blue, depending on the value of another column in "fieldTrial0809[idx, c(48)]" containg temperatures from -12.1 to -5.4. I don't want to use the heat.colors(n) function, because then I just get colors from red to yellow... I've created a vector "colTemperature" with 12 colors and I've also made a new vector "tempACC", based on the values of "fieldTrial0809[idx, c(48)]" with 12 levels. What I don't know, is how to incorporate this vector in the text() function below: > df=fieldTrial0809[idx,c(39:46)] > PC=prco...