Dear All
Is there any function for median test in R?
Best Regards,
Soheila
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Hi Soheila,
There you go:
median.test-function(y1,y2){
z-c(y1,y2)
g - rep(1:2, c(length(y1),length(y2)))
m-median(z)
fisher.test(z=m,g)$p.value
}
group1 - c(2, 2, 5, 5, 4, 3, 1, 5,5,5,5,5)
group2 - c(3, 1, 3, 1, 4, 1, 1, 1, 7, 1, 1, 1, 1, 1, 2)
boxplot(group1, group2)
median.test(group2
Hi,
On May 12, 2012, at 5:23 AM, Soheila Khodakarim lkhodaka...@gmail.com wrote:
Dear All
Is there any function for median test in R?
Of course, and more than one. You might try going to rseek.org and searching
for median test as a way to get started.
Sarah
Best Regards,
Soheila
Thank you so much.
Best Regards,
Soheila
On Sat, May 12, 2012 at 2:45 PM, Tal Galili tal.gal...@gmail.com wrote:
Hi Soheila,
There you go:
median.test-function(y1,y2){
z-c(y1,y2)
g - rep(1:2, c(length(y1),length(y2)))
m-median(z)
fisher.test(z=m,g)$p.value
}
group1 - c(2, 2,
Thank you so much.
But I can not open this link, rseek.org:(
Best Regards,
Soheila
On Sat, May 12, 2012 at 2:40 PM, Sarah Goslee sarah.gos...@gmail.comwrote:
Hi,
On May 12, 2012, at 5:23 AM, Soheila Khodakarim lkhodaka...@gmail.com
wrote:
Dear All
Is there any function for median
I can.
There are alternatives, though.
RSiteSearch(keywords) at the R prompt.
Google with the capital letter R in your search.
---
Jeff NewmillerThe . . Go Live...
6 matches
Mail list logo