On Oct 11, 2010, at 9:43 AM, Lawrence wrote:

Hello All,

I want "Ranks' Table in R as like in SPSS ouput in the given link.

http://www.statisticssolutions.com/methods-chapter/statistical-tests/kruskal-wallis-test/

Is the code is already available? Please let me know.

Yes. All code is available:

??"Kruskal Wallis"
methods(kruskal.test)
getAnywhere(kruskal.test.default)

If you want to extract the table, then looking at the bottom of that function, you see that the variables r, g,and x have been created and you would need to modify that code and substitute the returned table you desire. The table might be a bit more complicated than that simplistic offering since ties need to be properly accounted for if you intend to replicate the results "by hand".


Thanks,
Lawrence

--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org 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