search for: spssdata

Displaying 3 results from an estimated 3 matches for "spssdata".

2008 Apr 15
2
How can I import user-defined missings from Spss?
...n't know if any of these options are possible. Could you help me out? Let me give you an example: Preconditions: You need to have spss on you computer to generate the spss data. You need to generate the folder C:/tmp to save the spss file. As you can see I work with windows. */1) Generate the SpssData: */data. DATA LIST LIST /age (f2) sport (f2). BEGIN DATA 22, 1 40, 2 69, 1 19, 2 -99, 9 END DATA. */description. missing values age (LO thru 0). missing values sport (9). var label age "age". var label sport "Do you like sports" value label sport 1 "yes" 2 "no...
2004 Mar 03
2
read.spss and time/date information
...a file containing two variables, one numeric (values = (1, 2)) and one of type "Datum" in SPSS (german version with values "11.02.2003" and "03.04.1999" and I get in R: SPSSfile = url("http://www.imbe.med.uni-erlangen.de/~hothorn/dates.sav";, "rb") SPSSdata = readBin(SPSSfile, "numeric", n = 10000) writeBin(SPSSdata, con = "dummy.sav") library(foreign) read.spss("dummy.sav") $DUMMY [1] 1 2 $DATE [1] 13264300800 13142476800 attr(,"label.table") attr(,"label.table")$DUMMY NULL attr(,"label.table...
2005 Oct 11
3
8 char labels in read.spss
I was wondering why it is possible to read long labels from the CVS files but not from the SPSS files. I did not have much time to search for the code but I found: in foreign_0.8-10 source file var.h.in > /* Definition of the max length of a short string value, generally > eight characters. */ > #define MAX_SHORT_STRING ((SIZEOF_DOUBLE)>=8 ? ((SIZEOF_DOUBLE)+1)/2*2 > : 8)