I do
> qplot(x=Wavelength,y=value,data=whtourDNm,color=target,geom="text",label=substr(whtourDNm[,2],5,5),size=I(2),xlim=c(300,800))
and works fine but try
> qplot(x=Wavelength,y=value,data=whtourDNm,color=target,geom="point",size=2,xlim=c(300,800))
Warning message:
Removed 9075 rows containing missing values (geom_point).
Nevertheless:
> any(is.na(whtourDNm))
[1] FALSE
Why are the 9075 rows removed?
Data in
https://sites.google.com/site/filestemp2/home/whtourDNm.rda
Thanks
Agus
?
Agus
2011/6/1 Brandon Hurr <brando...@gmail.com>:
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
I did supply the link to the data in my original message, but you cut
it and did not include it
in your answer:
"Data in
https://sites.google.com/site/filestemp2/home/whtourDNm.rda"
The question is why the response is different with different geom
Thanks
Agus
2011/6/2 Brandon Hurr <brando...@gmail.com>:
It's not suppressing it - I just forgot to add the check to geom_text.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/