[R] Plotting more errorbar-functions in one plot

From: Hedwig Franziska Maria Zimmerer <hfz_at_rzg.mpg.de>
Date: Thu, 03 May 2007 13:00:12 +0200


itīs new for me tu use R for my statistics analysis, so I need some help.

The problem is:
I want to plot errorbar-functions from two measurements in one coordinate-system. For that I use the following code:

My problem is, that I want to have the same scaling on the x-axis, but I donīt know, what I have to do for that.

If I say:
>errbar(XAchse,MeansN,MinsN,MaxsN,xlab="",ylab="",xlim=range(0,100), ylim=
I get the following error:

	<Error in plot.default(x, y, ylim = range(y, yplus, yminus), xlab = xlab,  :
        	formal argument "ylim" matched by multiple actual arguments

I tried a lot of things, but nothing helped.

R-help_at_stat.math.ethz.ch 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 Thu 03 May 2007 - 11:05:52 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 03 May 2007 - 12:31: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.