作者gaus (minching NN )
看板Statistics
標題[問題] 如何抓R跑出來的某個數值資料...
時間Thu Sep 4 22:29:18 2008
Mantel-Haenszel Test
data: fac1 by fac2 (0, 1)
stratified by Strum
chi-squared = 1.202, df = 3, p-value = 0.7525
我只想將 p-value 抓出來存檔..該如何做呢??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.169.90.79
1F:推 pael:mantelhaen.test(XXXXX)$p.value 09/04 22:32
2F:→ gaus:我用cmh_test(CMH)$p.value 09/04 23:10
3F:→ gaus:跑出錯誤在cmh_test(CMH)$p.value : $ operator not defined 09/04 23:10
4F:→ gaus:for this S4 class 09/04 23:10
5F:→ gaus:請問why? 09/04 23:11
6F:推 lin15:chm_test??? cmh.test??? 同一個嗎? 09/04 23:14
7F:推 lin15:cmh.test的pvalue->cmh.test(data)$parameter[3] 09/04 23:37