<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="RIGHT: auto">Caros <SPAN class="" id=misspell-0 style="RIGHT: auto"><SPAN>Colegas</SPAN></SPAN> de R,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Minha dúvida parece ser simples: Eu gero um data.frame, visualizo um valor em uma coluna e quando peço para filtrar todas as linhas em que esta coluna apresenta este valor é <SPAN class="" id=misspell-2 style="RIGHT: auto"><SPAN>retornado</SPAN></SPAN> que não há linhas. Tente dois métodos de subset<VAR id=yui-ie-cursor></VAR><VAR id=yui-ie-cursor></VAR> e o erro persiste. Já bati muito a cabeça e não acho razões para este erro. Abaixo segue os comando e, desde já, agradeço a atenção.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">> fxy <- function(x,y) exp(y/x)<BR>> x <- seq(0.1, 0.5, l=101)<BR>> y <- seq(min(x^3), max(x^2), l=101)<BR>> z <- seq(0, max(fxy(x,y)), l=101)<BR>> xyz <- expand.grid(x=x,y=y,z=z)<BR>> head(xyz)<BR>      x     y z<BR>1 0.100 0.001 0<BR>2 0.104 0.001 0<BR>3 0.108 0.001 0<BR>4 0.112 0.001 0<BR>5 0.116 0.001 0<BR>6 0.120 0.001 0<BR>> xyz[xyz$y==0.001,]<BR>[1] x y z<BR><0 rows> (or 0-length row.names)<BR>> subset(xyz, y==0.001)<BR>[1] x y z<BR><0 rows> (or 0-length row.names)</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><SPAN class=mark id=misspell-33 style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN class=mark style="RIGHT: auto">Att</SPAN>,</div>
<div style="RIGHT: auto">Tiago Vieira.<VAR id=yui-ie-cursor></VAR></div></div></body></html>