Displaying 8 results from an estimated 8 matches for "sysmi".
Did you mean:
sysmp
2001 Aug 23
2
Missing Values from Spss-Data
...command !
What should i do to recode i.e. the values 9,99 & 999 to NA.
Something like this
x <- c(9,99,999,NA)
x==NA
...do not what i want, because the data.frame show
the values 9,99 & 999 and not NA in this fields ?
P.S. Perhaps is it easier to define all Missing Values in
SPSS to
SYSMIS so that i have got a blank and R automatically
define's NA to the blanks ???
Best thanks for advance
and regards, christian
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName at web.d...
2008 Apr 11
1
import user-defined missings
...re always ignored).
Is there any way in R to find out if any value was user-defined missing in Spss or not?
Even to keep the information as an attribute would suit me fine, or to keep them as a string character like "miss" would be even better.
To transform them into "NA" as the sysmis data from Spss is transformed automatically, would be an other alternative.
Unfortunately I don't know if any of these options are possible. Could you help me out?
Many thanks.
Christine Christmann
--
2008 Apr 15
2
How can I import user-defined missings from Spss?
...re always ignored).
Is there any way in R to find out if any value was user-defined missing in Spss or not?
Even to keep the information as an attribute would suit me fine, or to keep them as a string character like "miss" would be even better.
To transform them into "NA" as the sysmis data from Spss is transformed automatically, would be an other alternative.
Unfortunately I don'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...
2008 Jul 02
2
spss long labels
...===============
--- src/var.h.in (revision 5168)
+++ src/var.h.in (working copy)
@@ -41,6 +41,10 @@
#error MAX_SHORT_STRING must be less than 8.
#endif
+/* VAR_NAME_LEN: the length of a variable.
+ * SPSS supports names of 64 long
+ */
+#define VAR_NAME_LEN 64
/* Special values. */
#define SYSMIS (-DBL_MAX)
#define LOWEST second_lowest_double_val()
@@ -228,7 +232,7 @@
/* MODIFY VARS private data. */
struct modify_vars_proc
{
- char new_name[9]; /* Variable's new name. */
+ char new_name[VAR_NAME_LEN +1]; /* Variable's new name. */
int drop_this_var; /* 0=ke...
2002 Jan 07
0
Recoding variable levels in R
>From: "Stuart Leask" <stuart.leask at nottingham.ac.uk>
>
>Hi there. When I wished to recode two variables in SPSS, I could use the
>command RECODE:
>
>recode VAR1 VAR2 VAR3 etc. (1=0) (2=1) (3,MISSING=SYSMIS) (else=0).
>
>In R, I can 'hand-crank' each variable (using ifelse, or if the data is in a
>matrix by logical tests, or no doubt numerous other methods) one variable
>and one level at a time, but is there a more general function available?
>
>Stuart
See recode() in the p...
2002 Jan 06
2
Passing names of variables to functions
Hi,
I am still new to R and have a programming question. I have created a
small function which takes a parameter. In the function I want to be able
to refer to the names of the variables sent to the function (specifically
I want to be able to use the name of the variable given to the function in
an output table). For example, in the following (fictional) function I
want some way of printing
2006 Jul 07
2
Diverging results with SPSS
Dear List,
I apologize in advance if this is silly. I tried to replicate an analysis I
did previously in SPSS using R, and was surprised to find different results.
So my question is: shouldn't the following SPSS syntax
REGRESSION
DEPENDENT INC89
/METHOD=ENTER hiedyrs experien SE93rec.
Yeld the same results of the following R command
modelB<-lm(INC89~HIEDYRS+EXPERIEN+SE93REC)
I
2002 Aug 28
4
Huge data frames?
A friend of mine recently mentioned that he had painlessly imported a
data file with 8 columns and 500,000 rows into matlab. When I tried
the same thing in R (both Unix and Windows variants) I had little
success. The Windows version hung for a very long time, until I
eventually more or less ran out of virtual memory; I tried to set the
proper memory allocations for the Unix version, but it never