You should use na.rm=T instead of rm.na=T
See ?sum for the correct use of the code.
Cheers,
Thierry
Van:
s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] Namens
stephane.g.zebouni@jpmorgan.com
Verzonden: vrijdag 19 augustus
2005 16:23
Aan:
s-news@lists.biostat.wustl.edu
Onderwerp: Re: [S] small question
about NA
Thanks everyone. The sum fucntion with the rm.na field
set to TRUE did not work - but the trick with is.na did. Thanks
This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.