Re: [R] Finding data association in R

2009-05-19 Thread phen_ys
Johannes Hüsing wrote: > > > Am 19.05.2009 um 05:39 schrieb phen_ys: > >> >>> surgery <- data.frame(outcome = c(0, 0, 0, 0, 0, 0, 0, 0, 0, >> + 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, >> + 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0), age =

[R] Finding data association in R

2009-05-18 Thread phen_ys
> surgery <- data.frame(outcome = c(0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, + 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0), age = c(50, 50, 51, + 51, 53, 54, 54, 54, 55, 55, 56, 56, 56, 57, 57, 57, 57, 58, + 59, 60, 61, 61, 61, 62, 62, 62, 62, 63, 63, 63, 64, 6

[R] Grouping using pairs function

2009-05-18 Thread phen_ys
> bodies <- data.frame(chest = c(34, 37, 38, 36, 38, 43, 40, 38, + 40, 41, 36, 36, 34, 33, 36, 37, 34, 36, 38, 35), waist = c(30, + 32, 30, 33, 29, 32, 33, 30, 30, 32, 24, 25, 24, 22, 26, 26, + 25, 26, 28, 23), hips = c(32, 37, 36, 39, 33, 38, 42, 40, + 37, 39, 35, 37, 37, 34, 38, 37, 38, 37, 40,