Displaying 1 result from an estimated 1 matches for "p_value1".
Did you mean:
p_value
2011 Jul 12
1
problem plotting points based on different values
...ing the ifelse loop, but it considers only two
conditions at one time.
Please tell me a way to fulfill all the conditions.
here is the script:
library(lattice)
qplot(Drug_A, Drug_B, data=dsmall, size = p_value, colour =
ifelse(p_value > 0, ">0", "<0.0001"),
+ ifelse(p_value1 > 0.001, ">0.001", "<0.01")
+ ifelse(p_value1 > 0.001, ">0.001", "<0.05"
))