[R] ggmap warning

Chichi Shu chichi.shu at hotmail.com
Wed Jul 1 16:57:51 CEST 2015


Thanks Thierry. Is it the longitude and latitude that need to have finite values? 


From: Thierry Onkelinx 
Sent: Wednesday, July 01, 2015 2:50 AM
To: Chichi Shu 
Cc: r-help at r-project.org 
Subject: Re: [R] ggmap warning

Your data contains 4945 rows with missing or infinite values. These cannot be handled by stat_density2d and are dropped for that reason.

Best regards,

Thierry


Op 1 jul. 2015 08:43 schreef "Chichi Shu" <chichi.shu at hotmail.com>:

  Dear Listers



  I’ve been using ggmap package to produce crime Heat map. But I’ve noticed the following warning message when executing my code:



  In loop_apply(n, do.ply) :

    Removed 4945 rows containing non-finite values (stat_density2d).



  I’ve googled this message but I couldn’t find any good answers.



  Is this related to ggmap package or one of its depending package?



  What does it mean?



  Thanks!

          [[alternative HTML version deleted]]


  ______________________________________________
  R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list