[prev in list] [next in list] [prev in thread] [next in thread]
List: r-sig-geo
Subject: Re: [R-sig-Geo] Make function ignore +inf and -inf values
From: Edzer Pebesma <edzer.pebesma () uni-muenster ! de>
Date: 2011-10-25 16:42:10
Message-ID: 4EA6E6E2.5060309 () uni-muenster ! de
[Download RAW message or body]
You can't expect such behaviour from analysis functions; this is a =
problem in your data or introduced by your analysis (e.g. taking logs =
from zero values). I believe the job of the data analyst (you) is to =
solve this before you call the analysis functions / methods.
On 10/25/2011 06:26 PM, Sandeep Patil wrote:
> Hello
>
> I am using compare.cv functions to compare
>
> results stored in different dataframes and it works fine.
>
> The function fails when it gets a +inf or -inf value in a particular colu=
mn.
>
> It is difficult for me to replace all these values because there are many
>
> files and i do not know where inf values may be located
>
> Is it possible to somehow coax the function to disregard
>
> the rows with +Inf or -inf values , i can get a subset using
>
> subset of a dataframe function but i have too many columns
>
> and too many functions to change
>
> Thanks
>
-- =
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M=FCnster
Weseler Stra=DFe 253, 48151 M=FCnster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma@wwu.de
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic