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 column.

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ünster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebe...@wwu.de

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to