Re: [R] question

From: Gabor Csardi <csardi_at_rmki.kfki.hu>
Date: Sat 04 Feb 2006 - 00:34:02 EST

> x <- seq(0, 10, by=.1)
> plot(x,pexp(x, rate=1))
> points(x,pexp(x, rate=2), pch=2, col="blue")

See help(plot), help(points), help(lines).

Gabor

On Fri, Feb 03, 2006 at 01:07:30PM -0000, Xiao Zhao wrote:
> Hello,
> I am a research student and I am using R to access my research. I want
> to know how to multiple plot , such as for the exponetial distribution,
> if I give the covariate different value, how to plot these in the same
> figure,
> And also I want to add the density plot in the histogramm.
> How to do these?
> Thank u in advance
> nessie
>
> ______________________________________________
> 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

-- 
Csardi Gabor <csardi@rmki.kfki.hu>    MTA RMKI, ELTE TTK

______________________________________________
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 Sat Feb 04 00:47:08 2006

This archive was generated by hypermail 2.1.8 : Sat 04 Feb 2006 - 14:59:30 EST