search for: expos02

Displaying 2 results from an estimated 2 matches for "expos02".

Did you mean: expos01
2005 May 31
1
apply the function "factor" to multiple columns
I have a case where I would like to change multiple columns containing numbers to factors. I can change each column one at a time as in: TEMP.FACT$EXPOS01<-factor(TEMP.FACT$EXPOS01,levels=c(1,2,3),labels=c("No ne","Low Impact","MedHigh Imp")) TEMP.FACT$EXPOS02<-factor(TEMP.FACT$EXPOS02,levels=c(1,2,3),labels=c("No ne","Low Impact","MedHigh Imp")) TEMP.FACT$EXPOS03<-factor(TEMP.FACT$EXPOS03,levels=c(1,2,3),labels=c("No ne","Low Impact","MedHigh Imp")) > summary(TEMP.FACT[,1:3])...
2005 May 26
2
read.spss in R 2.1.0 & make basic dataframe
...t;value.labels")= Named num 5 4 3 2 1 .. ..- attr(*, "names")= chr "Yes, experienced it with Extreme Impact" "Yes, experienced it with Moderate Impact" "Yes, experienced it with A Little Impact" "Yes, experienced it with No Impact" ... $ EXPOS02: atomic 1 1 1 1 1 1 1 1 1 1 ... ..- attr(*, "value.labels")= Named num 5 4 3 2 1 .. ..- attr(*, "names")= chr "Yes, experienced it with Extreme Impact" "Yes, experienced it with Moderate Impact" "Yes, experienced it with A Little Impact" &q...