[R] problem in pot with subset selection

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Mon Jul 21 16:38:27 CEST 2003


Hi,

I try to make a selective plot, but it make an error. The subset only work 
with length < 4, it is correct?

> 
plot((ocorrencia/isca)~frag,subset=especieama==c("grupo1","grupo2","grupo3","AnoplotermesSp1","NeocapritermesOpacus"),pch=c(1,2,3,4,5),xlab="Área 
(ha)",ylab="Proporção de iscas ocupadas por térmitas")
Warning messages: 
1: longer object length
	is not a multiple of shorter object length in: is.na(e1) | is.na(e2) 
2: longer object length
	is not a multiple of shorter object length in: "==.default"(especieama, 
c("grupo1", "grupo2", "grupo3", "AnoplotermesSp1",  

I make the plot using points, but I want to know if this is a bug or real 
limitation in subset comparison.

I use R-1.7.1

Thanks
Ronaldo
-- 
I have discovered that all human evil comes from this, man's being unable
to sit still in a room.
		-- Blaise Pascal
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36571-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-2532                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list