RからStataへのデータの書き出し方

# write.dta(dataframe, file, version = 7L, 
#   convert.dates = TRUE, tz = "GMT", 
#   convert.factors = c("labels", "string", "numeric", "codes")) 

library(foreign)
write.dta(ここにRのデータフレーム名,file="ここに書き出すファイル名.dta", convert.factors = c("string")) 

情報のソース http://tolstoy.newcastle.edu.au/R/e2/help/07/07/20952.html


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-03-25 (土) 11:19:17