similar to: import user-defined missings

Displaying 20 results from an estimated 9000 matches similar to: "import user-defined missings"

2008 Apr 15
2
How can I import user-defined missings from Spss?
Hi, It works for me to import spss datasets via library(foreign) with read.spss or via library Hmisc by (spss.get). But no matter which way I do import the data, user-defined missings from Spss are always lost. (it makes no difference if there are a single value, a range, or any combination of them. They are always ignored). Is there any way in R to find out if any value was user-defined missing
2001 Aug 23
2
Missing Values from Spss-Data
Hello, i'm a newbie of the really fantastic "R" , but have some problems to define Missing Values from Spss-Files which i import with the read.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 ?
2003 Jul 10
1
RE: packaged datasets in .csv format (David Firth)
> ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 9 Jul 2003 10:53:27 +0100 > From: David Firth <david.firth at nuffield.oxford.ac.uk> > Subject: [R] packaged datasets in .csv format > To: r-help at stat.math.ethz.ch > Message-ID: > <307D34CE-B1F3-11D7-A8D2-0050E4C03977 at nuffield.oxford.ac.uk> >
2008 Jul 02
2
spss long labels
Hi, A frequently seen issue with importing SPSS data files, is that R does not import the 'long variable names'. I built a patch on the R-project's foreign module, in order to import the 'long variable names' from SPSS (record 7, subtype 13). To complete the job, I had to expand the "struct variable" definition to have 64 +1 charachters. I'm not aware of side
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
2007 Feb 02
2
Regression trees with an ordinal response variable
Hi, I am working on a regression tree in Rpart that uses a continuous response variable that is ordered. I read a previous response by Pfr. Ripley to a inquiry regarding the ability of rpart to handle ordinal responses in 2003. At that time rpart was unable to implement an algorithm to handle ordinal responses. Has there been any effort to rectify this in recent years? Thanks! Stacey On
2011 Oct 11
4
need help on read.spss
Hi, I have one doubt about one of the parameter of 'read.spss()' from 'foreign' package. Here is the syntax :- read.spss ( file, use.value.labels = TRUE, to.data.frame = FALSE, max.value.labels = Inf, trim.factor.names = FALSE, trim_values = TRUE, reencode = NA, use.missings = to.data.frame ) In above syntax when I pass *'to.data.frame=
2011 Oct 31
1
Get missinfg values with dataframe using read.spss
Hi All, Here is my problem. I need to get data frame (and not a list) while reading spss file using read.spss. For which I can put one parameter of read.spss as to.data.frame=TRUE. Now in doing so, I dont get missing values. Is there a way to get missings values along with data frame? Thanks in advance. -- SG [[alternative HTML version deleted]]
2008 Aug 01
1
importing explicitly declared missing values in read.spss (foreign)
There is a problem when importing an spss-file containing explicitly declared missing values in R using the read.spss function from the foreign package. I'm not sure these problems are the same in every version of spss, I am using the latest version 16.0.2. I included http://www.nabble.com/file/p18776776/missingdata.sav missingdata.sav and
2008 Aug 25
4
R for Windows GUI closes when I try to read.spss
** High Priority ** I have been trying to read an SPSS file into R using read.spss ("C:/Documents and Settings/Roderick Harrison/My Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame = FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values = TRUE, reencode = NA, use.missings = to.data.frame) Each time (at least 5 or 6 by now) I get the following
2012 Jun 25
1
read.spss function
Hi dear all, I am trying to import a dataset from SPSS into R (R x64 2.15.0). I used both   read.spss("D:/Untitled2.sav", use.value.labels = TRUE, to.data.frame = TRUE, max.value.labels = Inf, trim.factor.names = FALSE,trim_values = TRUE, reencode = NA, use.missings = to.data.frame) & read.spss("D:\\Untitled2.sav", to.data.frame = TRUE, stringsAsFactors = FALSE)   but the
2009 Aug 18
6
Eliminar variable de un data frame
Hola, que tal? Tendo una duda, como se puede eliminar una variable de un data.frame? Tambien tengo otra duda, tengo una base de datos importada del spss, donde tengo espacios asignados como missings, pero al pasarlo al R, me coje los espacios como una categoria más. Como los puedo poner como missings? Dolors Giralt _________________________________________________________________ [[elided
2011 Oct 29
1
Add col in data.frame
Hello Gurus, I am still new to R. Here is my issue. I was trying to add column to data frame that was populated by read.spss(). When I used cbind to add a new variable(column). library(foreign) mydf<-read.spss(file="C:/myspss.sav",use.value.labels=FALSE, to.data.frame=TRUE,use.missings=FALSE) attr(mydf,"variable.labels") ## it gives you all the labels
2003 May 28
2
Ordinal data - Regression Trees & Proportional Odds
I have a data set w/ an ordinal response taking on one of 10 categories. I am considering using polr to fit a cumulative logits model. I previously fit the model in SAS (using proc logistic) which provides a test for the proportional odds assumption (p < 0.001 for the test). Are there simple diagnostic plots that can be used to look at the validity of this assumption and possibly help w/
2008 Jul 18
3
How to cut data elements included in a text line
Hello, assume I have an "unstructured" text line from a connection. Unfortunately, it is in string format: R> x [1] "\talpha0\t-0.638\t0.4043\t0.4043\t-2.215\t-0.5765\t-0.137\t501\t2000" How can I extract the data included in this string object "x" in order to get the elements for the parameter vector called "alpha0", i.e. -0.638 0.4043 0.0467
2009 May 18
2
Overdispersion using repeated measures lmer
Dear All I am trying to do a repeated measures analysis using lmer and have a number of issues. I have non-orthogonal, unbalanced data. Count data was obtained over 10 months for three treatments, which were arranged into 6 blocks. Treatment is not nested in Block but crossed, as I originally designed an orthogonal, balanced experiment but subsequently lost a treatment from 2 blocks. My
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
I'm using R 2.8.1 on Ubuntu 8.10. I'm writing partly to ask what's wrong, partly to tell other users who search that there is a work around. The General Social Survey is a long standing series of surveys provided by NORC (National Opinion Research Center). I have downloaded some years of the survey data in SPSS format (here's the site:
2002 Nov 28
4
Mime-Version: 1.0
I am using expression() to incorporate text into graphics. To create a superscript, I use the '^' character. Can someone please tell me the character to use to create a subscript? Thank you ----------------------------------------------------- Christine Donnelly Statistical Consulting Unit The Graduate School John Dedman Mathematical Sciences Building (Bldg 27) Australian National
2003 Jun 04
1
FW: Besoin d'aide au sujet de swat
Can anyone help out Marie-Christine? Thanks PG -----Original Message----- From: Marie-Christine DRACK [mailto:jennifer.drack@wanadoo.fr] Sent: Wednesday, June 04, 2003 8:54 AM To: mkaplan@samba.org; paulg@samba.org Subject: Besoin d'aide au sujet de swat bonjour, je vous ?cris car je n'arrive pas ? me connecter ? swat alors que le fichier est configurer normalement.Voici mon fichier
2009 Mar 11
1
Is this a documentation bug? Spss dates import
Hello R-user bug seekers are needed! In order to perform these simple tasks you have to use a copy of SPSS and obviously R. The problem is that date conversion of data coming from SPSS gives wrong results, if we follow ?as.POSIXct ## SPSS dates (R-help 2006-02-17) z <- c(10485849600, 10477641600, 10561104000, 10562745600) as.Date(as.POSIXct(z, origin="1582-10-14",