重回帰職人の朝は早い

3,915 views

Published on

Published in: Technology
0 Comments
14 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,915
On SlideShare
0
From Embeds
0
Number of Embeds
166
Actions
Shares
0
Downloads
64
Comments
0
Likes
14
Embeds 0
No embeds

No notes for slide
  • \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
  • 重回帰職人の朝は早い

    1. 1. ... (almost) publication-ready tablesof regression model estimates. ...(memisc package description)
    2. 2. # mtableoptions("factor.style"="($f): ($l)")# ($f) $l)options("baselevel.sep"="-")#options("float.style"="f")# formatC format
    3. 3. library(XLConnect)book <- loadWorkbook("test.xlsx", create = TRUE)#createSheet(book, "test")#writeWorksheet(book, iris, sheet=test, startrow=0, startcol=0, header=TRUE)#saveWorkbook(book)#
    4. 4. 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)
    5. 5. 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]#

    ×