search for: datatemp

Displaying 1 result from an estimated 1 matches for "datatemp".

Did you mean: data_temp
2011 Aug 11
1
Subsampling data
*Dear R community* * * *I have two questions on data subsample manipulation. I am starting to use R again after a long brake and feel a bit rusty.* * * *I want to select a subsample of data for males and females separately* * * library(foreign) Datatemp <- read.spss("H:/Skjol/Data/HL/t1and2b.sav", use.value.labels = F) > table(Datatemp$sex) 1 2 3049 3702 > attributes(Datatemp) … $names [1] "nomiss" "Bin" "rad09" "year" "sex" "...