readStata {RcmdrMisc} | R Documentation |
Read a Stata Data Set
Description
readStata
reads a Stata data set, stored in a file of type .dta
, into an R data frame; it provides
a front end to the read.dta13
function in the readstata13 package.
Usage
readStata(file, rownames=FALSE, stringsAsFactors=FALSE, convert.dates=TRUE)
Arguments
file |
path to a Stata |
rownames |
if |
stringsAsFactors |
if |
convert.dates |
if |
Value
a data frame
Author(s)
John Fox jfox@mcmaster.ca
See Also
[Package RcmdrMisc version 2.9-1 Index]