Skip to menu

descriptive 표만들기 질문입니다.

난둥 2016.03.10 02:19 Views : 691

R 초보로,, 여기저기 공부하기 시작하여 많은 도움 받고 있습니다.

감사합니다.


기초적인 질문인데요..

baseline characteristics와 같은 table을 만들면서..


        ct = table(B[,a],regimen)

result1 = margin.table(ct,1)

result2 = margin.table(ct,2) 

result3 = prop.table(ct) 

result4 = prop.table(ct,1) 

result5 = prop.table(ct,2) 

result6 = summary(table(B[,a],regimen))


print(ct)

print(result5)

print(result6)


이러한 함수로 범주형변수를 분석하였는데 

summary에서 나온 p  value와 


이 홈페이지에서 만들어준 표의 p value의 값이 다른데요

방식에 차이가 있는 건가요?