Re: [R] Help with matplot

2008-11-13 Thread Marc Schwartz
on 11/13/2008 09:39 AM mentor_ wrote: > Hi, > > two days ago I have asked the list if there is a better way to plot a matrix > using > the following plot command: > > plot(matrix[1,], type="l") > for (i in 2:dim(matrix)[1]) { >lines(matrix[i,], type="l") > } > > I have been told to use t

Re: [R] Help with matplot

2008-10-15 Thread jim holtman
What do you mean by removing them? Do you want the whole row/column deleted? Have you tried setting them to NA so that the points are not plotted? You have to be a little more specific on what type of action you want to have happen when the criteria is met. Of course the answer is "anything is