search for: trim_values

Displaying 5 results from an estimated 5 matches for "trim_values".

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 Microsoft error message and the R-Console crashes. R for Windows GUI front-end has encountered a problem and needs to close. We are sorry for the inconvenience. I would greatly appreciate...
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= FALSE*' it gives me missing values from SPSS file (that I try to read using read.spss() ). But when I pass '*to.data.frame = TRUE*' then its not giving me missing values. And...
2008 Oct 07
1
read.spss: variable.labels
Hi, how can I attach variable labels originally read by read.spss() to the resulting variables? <pre> X <- read.spss('data.sav', use.value.labels = TRUE, to.data.frame = TRUE, trim.factor.names = TRUE, trim_values = TRUE, reencode = "UTF-8") names(X) <- tolower(names(X)) attach(X) </pre> Thank you S?ren
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 result is: Error: could not find function "read.spss"   What should I do to import data set into R? _________________ Best Regards...
2012 Mar 15
2
summing "transfers"
I have a dataframe from an On-Board Survey with weights ("expwgt") and variables for up to 8 used lines: VEH1 through VEH8. The lines are labeled "MT-..1" through "MT-902". I want to know how many transfers there are between MT-802 and MT-901. That is, when one of them is VEHx and the other is VEHx+1 or VEHx-1 E.g. {VEH1 = MT-802 AND VEH2 = MT-901 } plus {VEH2 =