Displaying 1 result from an estimated 1 matches for "maine2".
Did you mean:
maine
2008 Dec 24
1
Using SPSS Labels
...to import, but does replicate my
problem. The actual file is much too large to attach. No matter what I
do, I can not get R (base or Hmisc) to apply the value labels in
the .sav file to the dataframe created in R. Here's the code that I am
using.
maine <- spss.get("test.sav")
# or
maine2 <- read.spss("test.sav", read.value.labels=TRUE)
When I try to import the file, the value labels are not assigned to the
rows. This is what I get.
ID GENDER
1 1 1
2 2 2
3 3 1
4 4 2
5 5 1
6 6 1
7 7 1
8 8 2
9 9 2
10 10...