[R] question on graphs and finding area under a curve

From: Renuka Sane <renukas_at_gmail.com>
Date: Tue 02 Aug 2005 - 22:50:44 EST


Question on graphs:

The default case for drawing a graph in R, is where a little space is left on the x and y axis before the first tick i.e. even if I say xlim=c(0,1) -- there will be some space between the edge of the x-axis and where 0 is placed. If I want 0 on the edge, how do I do it in R?

Area under the curve:

I have a 45 degree line and a curve above or below it. Is there a way in R to find the area between the two?

Thanks,
Renuka

-- 
Renuka Sane
http://www.nyx.net/~rsane

	[[alternative HTML version deleted]]

______________________________________________
R-help@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
Received on Tue Aug 02 22:56:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:39 EST