| readSPSS | R Documentation |
readSPSS reads an SPSS data set, stored in a file of type .sav or .por, into an R data frame; it provides
a front end to the read_spss function in the haven package and the read.spss function in the foreign package.
readSPSS(file, rownames=FALSE, stringsAsFactors=FALSE,
tolower=TRUE, use.value.labels=TRUE, use.haven=!por)
file |
path to an SPSS |
rownames |
if |
stringsAsFactors |
if |
tolower |
change variable names to lowercase, default |
use.value.labels |
if |
use.haven |
use |
a data frame
John Fox jfox@mcmaster.ca
read_spss, read.spss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.