[R] help filtering points from a scatterplot
Dallas
tad.dallas at drakeresearchlab.com
Fri Feb 24 14:57:39 CET 2012
I believe this is what you want to do, though it may need tweaking.
#Make up some data
> a=seq(1,100,by=1)
> b=runif(100,0,0.5)
#Make a matrix
> matrix=cbind(a,b)
#Subset the matrix based upon values of interest
> subsetmatrix=matrix[which(b<0.1),]
#Plot values
>
> plot(subsetmatrix[,2]~subsetmatrix[,1],ylim=c(0,1),las=1,ylab='Explan',xlab='Window')
Hope this helps.
--
View this message in context: http://r.789695.n4.nabble.com/help-filtering-points-from-a-scatterplot-tp4415833p4417247.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list