[R-sig-Geo] Make function ignore +inf and -inf values

2011-10-25 Thread Sandeep Patil
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

Re: [R-sig-Geo] Make function ignore +inf and -inf values

2011-10-25 Thread Edzer Pebesma
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,