Displaying 1 result from an estimated 1 matches for "edad11".
2012 Aug 02
4
Subset data
Hi
Need a little help. This is easy question, but i?m new to R.
I want to subset a data frame called vef1 using a variable that is a factor called edad11, 0 if under 11 years, 1 otherwise.
I tried:
vef1.sub<-subset(vef1, edad11==0)
The code runs correctly but i get a empty dataframe.
If i use this code in Deducer everything is OK.
Can you help me?
Thanks in advance
Antonio Sousa
Portugal