More Related Content
Similar to 重回帰職人の朝は早い (20)
More from Masahiro Hayashi
More from Masahiro Hayashi (8)
重回帰職人の朝は早い
- 62. m1 <- mtable(lm0, lm1, coef.style="default",
summary.stats=c("adj. R-squared", "AIC", "BIC","N"))
con <- textConnection(format(m1))
m1.df <- read.table(con, sep="t")
close(con)
book <- loadWorkbook("test.xlsx", create = TRUE)
createSheet(book, "mtable")
writeWorksheet(book, m1.df, sheet='mtable', header=FALSE)
saveWorkbook(book)
- 63. book <- loadWorkbook("test.xlsx", create = TRUE)
book["iris"] <- iris
#
book["iris2", startRow = 6, startCol = 11,
header = FALSE] <- iris
#
saveWorkbook(book)
book["iris"]
book["iris2", header=FALSE]
#
Editor's Notes
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n