I think plot.ecdf(rnorm(100),rexp(100)) is a cumulative histogram for
observations
x1,x2, ... xn, but I don't know if there is another intrinsic function that
plots a cumulative histogram for observations (x1,y1) , (x2,y2) ... (xn,yn),
that is, the fraction of observations with x less or equal to some value and
with y less or equal to some value
   Fn(x,y)#{xi˜x & yi˜y n=frac1 n\sum_{i=1}^n \mathbf{1}_{[x_i <= x,
y_i<=y]}

On 6/21/07, Mike Lawrence <[EMAIL PROTECTED]> wrote:
>
>
> ?plot.ecdf
>
> plot.ecdf(rnorm(100),rexp(100))
>
> On 20-Jun-07, at 5:02 PM, Jose Borreguero wrote:
>
> > Hi all,
> > I am extremely newbie to R. Can anybody jump-start me with any
> > clues as to
> > how do I get a cumulative histogram from two independent variables,
> > cumhist(X,Y) ?
> > -jose
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [email protected] 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.
>
> --
> Mike Lawrence
> Graduate Student, Department of Psychology, Dalhousie University
>
> Website: http://memetic.ca
>
> Public calendar: http://icalx.com/public/informavore/Public
>
> "The road to wisdom? Well, it's plain and simple to express:
> Err and err and err again, but less and less and less."
>         - Piet Hein
>
>
>


-- 
Dr. Jose M. Borreguero
Postdoctoral Associate
Center for the Study of Systems Biology,
School of Biology,
Georgia Institute of Technology,
250 14th St NW, Atlanta GA 30318
Email: [EMAIL PROTECTED]
phone: 404 407 8980 Fax: 404 385 7478

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to