Re: [R-sig-eco] p-Function for Empirical Distributions

2010-09-07 Thread Glen A Sargeant
n_sarge...@usgs.gov FAX: (701) 253-5553 * From: Jane Shevtsov To: r-sig-ecology@r-project.org Date: 09/04/2010 12:37 AM Subject: [R-sig-eco] p-Function for Empirical Distributions Sent by: r-sig-ecology-boun...@r-project.org Does R have a p-function for empirical di

Re: [R-sig-eco] p-Function for Empirical Distributions

2010-09-04 Thread Jari Oksanen
On 4/09/10 08:32 AM, "Jane Shevtsov" wrote: > Does R have a p-function for empirical distributions? In other words, > how can I find out what fraction of the values in my data set are > smaller than a given value? Jane, Two separate questions. The answer to the first is "yes". This you could ha

Re: [R-sig-eco] p-Function for Empirical Distributions

2010-09-04 Thread Peter Solymos
On Fri, Sep 3, 2010 at 11:32 PM, Jane Shevtsov wrote: > Does R have a p-function for empirical distributions? In other words, > how can I find out what fraction of the values in my data set are > smaller than a given value? Maybe sum(x <= crit) / length(x) Cheers, Peter Péter Sólymos Alberta Bio

[R-sig-eco] p-Function for Empirical Distributions

2010-09-03 Thread Jane Shevtsov
Does R have a p-function for empirical distributions? In other words, how can I find out what fraction of the values in my data set are smaller than a given value? -- - Jane Shevtsov Ecology Ph.D. candidate, University of Georgia co-founder, Check out my blog,