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?
Stephen Sefick On Sun, Aug 17, 2008 at 10:38 PM, Rolf Turner <[EMAIL PROTECTED]> wrote: > > There was a thread on this recently. Solutions were posted to allow you > to join interpolated points to ``real'' ones using a different line type. > See > > http://finzi.psych.upenn.edu/R/Rhelp02a/archive/127669.html > > cheers, > > Rolf Turner > > On 18/08/2008, at 2:10 PM, jim holtman wrote: > >> You can also do: >> >> plot(approx(d[,1], d[,2], xout=d[,1]), type='b') >> >> This will interprete the values between the missing values, but it is >> probably best to leave it as you first had it with the missing lines >> so that you know there is something different in the data. >> >> On Sun, Aug 17, 2008 at 6:55 PM, stephen sefick <[EMAIL PROTECTED]> wrote: >>> >>> d <- structure(c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, >>> 2, 3, 4, 5, 6, 7, 8, 9, 10, NA, NA, NA, 14), .Dim = c(14L, 2L >>> ), .Dimnames = list(NULL, c("a", "b"))) >>> plot(d, type="b") >>> >>> This is simplified, but Is there an option I am missing that will >>> force all of the points to be joined by a line? >>> >>> Stephen Sefick >>> >>> >>> -- >>> Let's not spend our time and resources thinking about things that are >>> so little or so large that all they really do for us is puff us up and >>> make us feel like gods. We are mammals, and have not exhausted the >>> annoying little problems of being mammals. >>> >>> -K. Mullis >>> >>> ______________________________________________ >>> 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. >>> >> >> >> >> -- >> Jim Holtman >> Cincinnati, OH >> +1 513 646 9390 >> >> What is the problem that you are trying to solve? >> >> ______________________________________________ >> 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. > > > ###################################################################### > Attention:This e-mail message is privileged and confidential. If you are not > theintended recipient please delete the message and notify the sender.Any > views or opinions presented are solely those of the author. > > This e-mail has been scanned and cleared by > MailMarshalwww.marshalsoftware.com > ###################################################################### > -- Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis ______________________________________________ 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.