[問題] 在plot room 顯示 R summary 結果
[問題類型]:
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
[軟體熟悉度]:
入門
[問題敘述]:
目前就我認識的R程式套件中,僅有gplots中的textplot 可以打印出文字資訊在輸出圖表
中,
但是偶而會遇到輸出資訊非常多,導致整個圖表的文字變得很小,會變成如下:
圖片網址:http://imgur.com/msgpWM0

但是如果我加上textplot的參數(cex=2)文字會超出範圍,則會變成如下:
圖片網址:http://imgur.com/a/E9kDX
想請問各位大大是否有相關的textplot的參數或是R系統參數可以調整,
方能使輸出圖表的字體可以保持正常的大小例如說:跑出捲軸可以拉之類的? 謝謝各位
[程式範例]:
# load the lavaan package (only needed once per session)
library(lavaan)
# specify the model
HS.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
# fit the model
fit <- cfa(HS.model, data=HolzingerSwineford1939)
# display summary output
textplot(capture.output(summary(fit, fit.measures=TRUE)))
[環境敘述]:
R-Studoio
R 3.2.5
Windows 7
[關鍵字]:
textplot, R environment parameter
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.140.155.202
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1500024757.A.A8F.html
→
07/14 18:55, , 1F
07/14 18:55, 1F
→
07/14 20:36, , 2F
07/14 20:36, 2F
→
07/14 20:37, , 3F
07/14 20:37, 3F
→
07/15 20:12, , 4F
07/15 20:12, 4F
→
07/15 20:12, , 5F
07/15 20:12, 5F
→
07/15 20:57, , 6F
07/15 20:57, 6F
→
07/17 09:57, , 7F
07/17 09:57, 7F
→
07/18 01:15, , 8F
07/18 01:15, 8F
→
07/18 01:17, , 9F
07/18 01:17, 9F
→
07/20 11:16, , 10F
07/20 11:16, 10F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章