[R] subset
Martin Becker
martin.becker at mx.uni-saarland.de
Fri May 4 09:37:47 CEST 2007
Sorry,
of course it should read
> subset(swiss, Agriculture > 60 & !(Examination %in% c(14,16)), select
= c(Agriculture,Examination,Catholic))
Agriculture Examination Catholic
Aigle 62.0 21 8.52
Avenches 60.7 19 4.43
Cossonay 69.3 22 2.82
Echallens 72.6 18 24.20
Lavaux 73.0 19 2.84
Oron 71.2 12 2.40
Paysd'enhaut 63.5 6 2.56
Conthey 85.9 3 99.71
Entremont 84.9 7 99.68
Herens 89.7 5 100.00
Martigwy 78.2 12 98.96
Monthey 64.9 7 98.22
St Maurice 75.9 9 99.06
Sierre 84.6 3 99.46
Sion 63.1 13 96.83
Martin Becker wrote:
>
> [...]
More information about the R-help
mailing list