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