[R] help on deleting NAs
Patrick Connolly
p.connolly at hortresearch.co.nz
Mon Feb 21 01:58:57 CET 2005
On Fri, 18-Feb-2005 at 03:41PM -0600, KeLin at mdanderson.org wrote:
|> Thanks a bunch.
|>
|> I happened to generate another dataset to try the command you all
|> provided. my.data$group is factor and so the "!my.data$group" command
|> doesn't work but the "!with" statement works for both situation. So what i
|> can modify and make the first one work, just curious.
Try an as.character() with the factor.
HTH
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
More information about the R-help
mailing list