object 'res' not found
require(moonBook) require(ztable) res=mytable3( Type ~ Duration of fever ,data = cleanData(my_readfile(input$file)) ,method= 1 ,digits= 1 ,exact=TRUE ) z=ztable(res) below05=which(as.numeric(z$x[[ncol(z$x)]])<0.05)+1 if(length(below05)>0) z=addRowColor(z,rows=below05,color='lightcyan') z$caption=paste('Table 1. Clinical Characteristics according to', input$group1) print(z,caption=caption)
알려주시면 감사하겠습니다.
Comment 2
-
cardiomoon
2016.07.23 13:55
-
zzioni
2016.08.24 08:15
교수님, 저도 같은 에러가 나는데요.
moonBook 패키지에서 어느 것을 다운받으면 되는지요?
클릭을 할 수 있는 아이콘들이 상당히 많습니다.
감사합니다.
이 에러는 웹R에서 나는 건가요? 아니면 코드를 복사해서 선생님 컴퓨터의 R에서 실행했을 때 나는 건가요?
웹 R의 환경과 선생님 컴퓨터의 환경이 달라 생기는 에러입니다.
mytable3은 github에 있는 moonBook패키지의 최신버전에 있습니다.
다음과 같이 설치하실 수 있습니다.
devtools::install_github("cardiomoon/moonBook")
감사합니다.