Re: [R] lineplot.CI problem

From: Manuel Morales <Manuel.A.Morales_at_williams.edu>
Date: Fri, 15 Feb 2008 10:23:45 -0500

On Fri, 2008-02-15 at 15:18 +0100, Dieter Vanderelst wrote:
> Hi List,
>
> I have a problem plotting data using the lineplot.CI command in the sciplot package.
>
> I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
>
> So far so good. However, when I plot the data using lineplot.CI, the standard error bars are not aligned correctly with the markers.
>
> I know that this might be difficult to imagine. Here you can find an example: http://i254.photobucket.com/albums/hh115/MarkerMe/example.png
>
> So, has anybody experienced this problem and solved it before? I think I could try padding the data of the second case with zeros to eliminate the missing data. But I hope there is a better solution.

I wrote this function to plot data from factorial designs. The current version therefore fails for designs where data are not present in all levels of the variables, as is the case for your example. I'll take another look at this and see if there's an easy way to change this.

Manuel

> Regards,
> Dieter
> ----------------------------------------------------
> Dieter Vanderelst
> dieter dot vanderelst at emailengine dot org
>
> ______________________________________________
> R-help_at_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.

-- 
http://mutualism.williams.edu



______________________________________________ R-help_at_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.

Received on Fri 15 Feb 2008 - 16:10:16 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 Fri 15 Feb 2008 - 16:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive