search for: var001

Displaying 4 results from an estimated 4 matches for "var001".

2009 Mar 08
1
re shaping a data frame with multiple IDs
...quot;,"ID001","ID001","ID001","ID001","ID001","ID001","ID001","ID001","ID002","ID002","ID002","ID002","ID002","ID002","ID002") Var <- c("Var001","Var001","Var001","Var001","Var001","Var002","Var002","Var002","Var002","Var002","Var002","Var001","Var001","Var001","Var001","Var002","Va...
2013 Feb 26
3
Merging value labels into indicator variable.
I have a vaiable named NAM having value : 1,2,3,4,5,6,7,8,9. I want to make an indicator variable that will take value 1 if NAM=7 or NAM=8 or NAM=9. How can I do that? I usually do: Var001<- ifelse(NAM==7,1,0) for the simplest case. [[alternative HTML version deleted]]
2006 Jun 06
2
SPSS variable lables import
Hi, I try to get the variable labels of a SPSS data file into R but don't find this mentioned in the help file for foreign. Is there another way to get them ? BTW: An SPSS variable name is like: VAR001, whereas the variable label might be 'Identification no.' Thanks in advance, F. Thomas -- .......................................... Dr. Frank Thomas FTR Internet Research 93110 Rosny-sous-Bois France --
2001 Nov 28
2
Value lables, variable lables
I'm looking for an analogy to SPSS and "variable lable" and "value lable" in R. I have a copy of S+4.0 and can't find any info in their docs, and don't find it in R-intro either. In SPSS, for each variable, there is a name like VAR001 and a variable lable (a longer descriptive string) like Respondent ID and for many of the values of other variables there are value lables. For example, VAR008 has the lable GENDER of Respondent and it has values of 0 and 1, and the values are labled 0 Male 1 Female Sometimes value lable...