On Aug 24, 2009, at 6:50 PM, Edward Chen wrote:
Thank you so much for your reply. I apologize for not making my
question clearer.
The problem I have right now is not just a matrix. I have a plot in
which the X and Y are both calculated by other functions before the
plot. After reviewing th
On Aug 24, 2009, at 12:55 PM, Edward Chen wrote:
Hi all,
Is there a quick way to display or recall data points from a
specific region
on the plot? For example I want the points from x>5 and y>5?
Thank you very much!
Your question is pretty light on specifics but assuming that you have
co
I am assuming that you want to desplay all the data and highlight the subset.
Set up a vector to indicate the breakdown of the data and you can do it fairly
easily in ggplot2 if you treat the vector as a factor.
library(ggplot)
mydata <- data.frame(x=1:21, y= -10:10)
z <- ifelse(mydata[,1]>5 & m
3 matches
Mail list logo