Re: [R] plotting every ith data point?

From: jebyrnes <>
Date: Thu, 21 Feb 2008 14:04:35 -0800 (PST)

Here's a similar variant on what has been proposed, but is simpler. It relies on the fact that plot() doesn't need a ~.

plot(1:20, a[1:b])

Alternately, if you were using a data frame, as long as you knew the column names, you could do something like


Simple, no?

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 21 Feb 2008 - 22:08:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Feb 2008 - 23:30:15 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive