This method usually works, in the sense that only a few dozen lines of R code are then required to cope with categories, missing values, time variables, and other features that are either lost or damaged in translation. A cleaner way is to save to SPSS Statistics Portable (POR) format from SPSS and open the result by using the read.spss() method from the foreign library. sav format typically opens the file in SPSS, saves it to comma-separated values (CSV) format, and opens the result in R by using the read.csv() method. The low level of interest is not surprising: SPSS users are, more often than not, people who use only SPSS for their data analysis and R users are accustomed to applying ugly hacks as part of doing business with R. It’s something of a well-kept secret, judging from the low level of activity in the R blogosphere on this point.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |