search for: pain3

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

Did you mean: pain
1997 Apr 08
1
R-alpha: User friendly functions
...ave parts of this, e.g. in Kurts ctest routines. Specifically, I was thinking about data frames: How about dfr.sel<-select.frame(dfr,age,sex,pain1:pain5) with the : specifying a range, instead of dfr.sel<-dfr[,c(1,2,5,6,7,8,9)] or attach(dfr) dfr.sel<-data.frame(age,sex,pain1,pain2,pain3,pain4,pain5) detach(dfr) (which isn't even safe if there are variables of the same name in the global environment) similarly, how about dfr.sub<-subset.frame(dfr,sex==1 && age > 30) rather than dfr.sub<-dfr[dfr$sex==1 && dfr$age > 30,] Both would seem to be qu...