On Mon, Aug 18, 2008 at 3:54 PM, Rolf Turner <[EMAIL PROTECTED]> wrote: > > On 19/08/2008, at 1:04 AM, stephen sefick wrote: > >> The real data are counts of aquatic insects at distinct locations on a >> river continuum on the way down a river, so the when a point point on >> the graph is missing (lost sampling equipment for that month) the >> points downstream (toward the right) are valid to show a trend. >> Aren't they? > > Quite possibly; I wouldn't really know. However it would be less than > honest to plot the interpolated/inferred points as if they were genuine > data points. By all means plot the interpolations, but distinguish them, > e.g. by joining them to their neighbours by dotted lines (where real points > are joined to each other by solid lines).
x <- sort(runif(10)) y <- runif(10) plot(x, y, type="l") Doesn't a line plot inherently display a set of linear interpolations? Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.