Re: [R] Plot unusual subset of data

2011-10-24 Thread Noah Silverman
Works beautifully. Thanks! -- Noah Silverman UCLA Department of Statistics 8117 Math Sciences Building Los Angeles, CA 90095 On Oct 24, 2011, at 1:32 PM, (Ted Harding) wrote: > ix <- which(Seg[1013:1046] > 0) > lines((1013:1046)[ix], Seg[1013:1046][ix], col=2) [[alternative HTML ver

Re: [R] Plot unusual subset of data

2011-10-24 Thread Ted Harding
On 24-Oct-11 19:48:16, Noah Silverman wrote: > Hi, > I have a function that approximates some data and indicates "segments". > > I'd like to plot the original data, and then the linear approximations > on top of it. (Ideally, just a subset of N rows at a time, as the data > set is large.) > > I

[R] Plot unusual subset of data

2011-10-24 Thread Noah Silverman
Hi, I have a function that approximates some data and indicates "segments". I'd like to plot the original data, and then the linear approximations on top of it. (Ideally, just a subset of N rows at a time, as the data set is large.) I can't figure out a clean way to do this. Suggestions? her