[R] About kruskal.test

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Apr 16 08:47:38 CEST 2003


ocbruno at netscape.net wrote:
> Hi,
> 
> I'm newbie in R package,
> but i'm extremely gratefull for these list! 
> 
> is there possible to make kruskal.test
> summarize the sum of ranks??
> e.g 
> #####
> z<-c(1.2,3.4,0,0,0,0,0)
> ranks(z) # like in octave package

rank() # like in R ;-)

Uwe Ligges

> ans=
> 6 7 3 3 3 3 3
> sum(ranks(z))
> ans= 28
> ###
> then apply multiple comparisions for many other data
> SE<-sqrt(n*(n*k)*(n*k+1)/12) # according Zar,JH. Bioestatistical
>                              # Analysis sec.12.6, on pg. 199 
> Thanks for any helps
> Marcelo A. BRUNO
> --# Oceanographer            #
> --# FURG - Dpto.Oceanografia #
> --# CP 474 - RIO GRANDE - RS #
> --# CEP 96.200-000 BRAZIL    #
> ##############################
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



More information about the R-help mailing list