[R] ks.test one-sample - where can I get a list of the strings specifying the distribution?

Gabor Grothendieck ggrothendieck at gmail.com
Tue May 9 21:04:53 CEST 2006


For the ones in the stats package:

   help.search("distribution$", package = "stats")

seems to get the right set.

On 5/9/06, D.Campbell at iop.kcl.ac.uk <D.Campbell at iop.kcl.ac.uk> wrote:
>
>
>
>
>
> Dear all,
>
> One can use ks.test(x,y) for a one-sample kolmogorov-smirnov test:
>  x being the data sample
>  y being a string specifying a distribution
>
> I notice the help on ks.test does not tell you how to get such a list. Is
> this a hole in my R knowledge?
>
> Where can I get a list of the strings specifying the possible
> distributions?
> and more specifically
> What would be the string and following parameters for a uniform(0,1)
> distribution?
>
> regards
> Desmond Campbell
>
> Room C0.29, SGDP Centre
> Institute of Psychiatry, De Crespigny Park, London SE5 8AF
> Tel: +44 (0) 20 7848 0236
> Fax: +44 (0) 20 7848 0866
>
> Announcing the 7th MRC SGDP SUMMER SCHOOL
> 17 - 21 July 2006 with courses in
> a) twin model fitting, Mx
> b) gene expression and microarrays (Affymetrix)
>  c) linkage, association and allied methods
> See http://sgdp.iop.kcl.ac.uk/summerschool/
>
> ______________________________________________
> 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
>




More information about the R-help mailing list