[R] ggmap warning

Thierry Onkelinx thierry.onkelinx at inbo.be
Wed Jul 1 21:59:42 CEST 2015


All variables used in the plot must contain finite values. Without your
code we can only speculate about your code.

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-07-01 16:57 GMT+02:00 Chichi Shu <chichi.shu op hotmail.com>:

>   Thanks Thierry. Is it the longitude and latitude that need to have
> finite values?
>
>
>  *From:* Thierry Onkelinx <thierry.onkelinx op inbo.be>
> *Sent:* Wednesday, July 01, 2015 2:50 AM
> *To:* Chichi Shu <chichi.shu op hotmail.com>
> *Cc:* r-help op 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 op 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 op 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