Displaying 1 result from an estimated 1 matches for "savings_pct".
2012 Oct 16
2
List of Levels for all Factor variables
...WRK_SCHED : Factor w/ 6 levels "12HR","4/10s",..: 3 3 3 3 3 3 3 3 4 4 ...
$ FWT_MAR_STATUS : Factor w/ 2 levels "M","S": 1 1 1 1 2 1 1 1 1 2 ...
$ COVERED_DP : int 2 2 4 0 1 3 1 2 0 0 ...
$ YRS_IN_SERIES : int 13 29 16 26 18 9 19 3 7 26 ...
$ SAVINGS_PCT : int 10 0 6 19 8 0 10 15 15 18 ...
$ Generation : Factor w/ 4 levels "Baby Boomers",..: 1 1 2 1 1 1 1 2 2 1 ...
2. Create mydataF to only include factor variables (and exclude NAME which I am not interested in)
> mydataF<-mydata[,sapply(mydata,function(x)is.factor(x))][...