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....@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@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]] ______________________________________________ R-help@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.