Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # install.packages("xlsx")
  2. library(xlsx) # to write the excel file
  3. # Write as an excel file
  4. write.xlsx2( as.data.frame(data1) , "106老人狀況調查-recode.xlsx", row.names = F)
  5. # Write as a csv file
  6. write.csv( data1, "106老人狀況調查-recode.csv", row.names = F)
Add Comment
Please, Sign In to add comment