[R] where are these NAs coming from?
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Wed Sep 19 20:21:19 CEST 2012
I don't.
You are getting to be a regular around here, so you should know better by now. Please stop posting non-reproducible sample code.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Sam Steingold <sds at gnu.org> wrote:
>I see this:
>--8<---------------cut here---------------start------------->8---
>> length(which(is.na(z$language)))
>[1] 0
>> locals <- z[z$country == mycountry,]
>> length(which(is.na(locals$language)))
>[1] 229
>--8<---------------cut here---------------end--------------->8---
>where are those locals without the language coming from?!
More information about the R-help
mailing list