[R] simple problem

From: Ronaldo Reis-Jr. <chrysopa_at_gmail.com>
Date: Tue 24 Jan 2006 - 06:38:33 EST


Hi,

look this:

> summary(família)

   Anacardiaceae       Annonaceae      Bombacaceae     Cecropiaceae 
               2                4                1                3 
Chrysobalanaceae       Clusiaceae    Euphorbiacaea          Fabacea 
               1                1                4                3 
        Fabaceae   Flacourtiaceae      Humiriaceae    indeterminada 
              17                2                1                2 
       Lauraceae    Malpighiaceae        Meliaceae       Mimosaceae 
               4                4                6                1 
         Moracea         Moraceae        Myrtaceae    Nyctaginaceae 
               1                1                2                1 
       Olacaceae        Rubiaceae       Sapotaceae        Violaceae 
               2                1                3                1 


> summary(família)==17
Anacardiaceae Annonaceae Bombacaceae Cecropiaceae FALSE FALSE FALSE FALSE Chrysobalanaceae Clusiaceae Euphorbiacaea Fabacea FALSE FALSE FALSE FALSE Fabaceae Flacourtiaceae Humiriaceae indeterminada TRUE FALSE FALSE FALSE Lauraceae Malpighiaceae Meliaceae Mimosaceae FALSE FALSE FALSE FALSE Moracea Moraceae Myrtaceae Nyctaginaceae FALSE FALSE FALSE FALSE Olacaceae Rubiaceae Sapotaceae Violaceae FALSE FALSE FALSE FALSE

> família[summary(família)==17]

[1] Fabaceae Rubiaceae Meliaceae
24 Levels: Anacardiaceae Annonaceae Bombacaceae ... Violaceae

Why it dont work? Only Fabaceae == 17.

Thanks
Ronaldo

--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36570-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [chrysopa@insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jan 24 07:13:30 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:09 EST