다음 결과가 있습니다. 나는 이러한 결과에 대한 깨끗한 출판 가능한 원고 테이블을 만들고 싶지만, R을 통해 이것을 할 수있는 코드를 확신 할 수 없으며 두려운 복사 및 붙여 넣기를 통해서가 아닙니다. 누군가가 도와 줄 수 있습니까?요약 결과를 게시 용 단어로 표로 내보내기
calfrg <- read.csv("~/Desktop/R/CalFRG2017.csv", header = TRUE)
attach(calfrg)
model1 = lm(formula = energy ~ infectionstatus+ fl + weight + site + infectionstatus*weight +site*weight + infectionstatus*fl + site*fl +weight*fl +infectionstatus*weight*fl + site*weight*fl, data = calfrg)
summary(model1)
model2 = lm(formula = percentmoisture ~ infectionstatus+ fl + weight +site + infectionstatus*weight +site*weight + infectionstatus*fl + site*fl +weight*fl +infectionstatus*weight*fl + site*weight*fl, data = calfrg)
summary(model2)
model3 = lm(formula = cf ~ infectionstatus + site, data = calfrg)
summary(model3)
model4 = lm(formula = relativecf ~ infectionstatus +site, data = calfrg)
summary(model4)
대답 중 하나에서 언급 한'knitr :: kable '외에도'kableExtra' 패키지에서'kable' 테이블의 형식을보다 유연하게 변경할 수 있습니다. – eipi10