readStata | R Documentation |
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.
readStata(file, rownames=FALSE, stringsAsFactors=FALSE, convert.dates=TRUE)
file |
path to a Stata |
rownames |
if |
stringsAsFactors |
if |
convert.dates |
if |
a data frame
John Fox jfox@mcmaster.ca
read.dta13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.