Re: [R-sig-Geo] AutoKrige.cv error crazy..

2012-02-17 Thread Sandeep Patil
ermail/r-sig-geo/2007-March/001790.html > > but I'm not sure it helped. You could search further. I tried the > following in google search: > > Error: dimensions do not match: locations and data site:ethz.ch > > On 02/17/2012 07:38 PM, Sandeep Patil wrote: > > Any

[R-sig-Geo] AutoKrige.cv error crazy..

2012-02-17 Thread Sandeep Patil
Ok this is driving me crazy I had posted this error some time back and as i have returned to my analysis it is repeating so essentially i have a dataframe coopy for one year with about 3044 points and a column for every month of the year representing precip values The location information is in

[R-sig-Geo] AutoKrige.cv error

2012-02-08 Thread Sandeep Patil
Hello everyone, I have a spatial data frame with about 50 variables (precip and temp for diff months). I am using autokrige.cv to perform ordinary kriging cross validation for each variable. This works fine with most (~45 variables) but for about 5 variables i get a weird error saying that the

[R-sig-Geo] Coefficient of correlation weighting - Cross validation

2012-01-26 Thread Sandeep Patil
Hello everyone, Does anyone know of a package that implements Coefficient of correlation weighting method and its leave out one cross validation version. Thanks in advance, Sandeep [[alternative HTML version deleted]] ___ R-sig-Geo mailing l

[R-sig-Geo] Spatially weighted regression - Cross validation

2012-01-26 Thread Sandeep Patil
Hello everyone, Does anyone know of a package in R that implements spatially weighted regression and its leave out one cross-validation version. Thanks in advance, -- Sandeep R Patil Graduate Student M.S (Hydrological Sciences) [[alternative HTML version deleted]] _

[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 va

[R-sig-Geo] Calling R from QGIS

2011-10-24 Thread Sandeep Patil
Hello everyone I searched for this question online but could not find a satisfactory answer. How many of you use Quantum GIS and R together . I want to access as much R functionality through QGIS as possible to manipulate my data within QGIS itself. Any advice welcome. I tried a plugin called

[R-sig-Geo] Compare.cv write to csv

2011-10-23 Thread Sandeep Patil
Hello I have used compare.cv from Automap to generate a comparison of different interpolation methods in R. The output says that compare.cv object is a data.frame but when i try to write it to a csv file it gives me an error saying that object is "of list type" Error in write.table(x, file, n

[R-sig-Geo] Delete points within a certain distance of each other

2011-10-15 Thread Sandeep Patil
Hello all I have about 4500 spatial points which are irregularly spaced... What is want to do is to replace points that are clustered very near each other by one point ...i.e say the distance betweeen Point A & Point B is less than a threshold that i will define , i will delete either A or B an

[R-sig-Geo] gstat error

2011-10-14 Thread Sandeep Patil
Hello I am running a Kriging cross validation in Automap. I get the following error "chfactor.c", line 130: singular matrix in function LDLfactor() I did check out the troubleshooting part of gstat manual which suggested two possible reasons during simulation, when an observation falls almo

[R-sig-Geo] "Theta" value in Fields library for Tps

2011-10-05 Thread Sandeep Patil
Hello If anyone has used the function tps which fits thin plate splines on spatial data can you tell me what units do i specify parameter *theta *in. It controls the tapering range beyond which radial basis function is zero. I am specifying coordinates in *Lat* and *Lon* and calculating *great c

[R-sig-Geo] Great Circle distances in Automap, Gstat

2011-10-05 Thread Sandeep Patil
Hello I am using IDW and Kriging from these two libraries and have spatial data in Lat/Lon coordinates. I am a bit confused about how to specify that i need great circle distances in my calculations. Any advice welcome Thanks Sandeep [[alternative HTML version deleted]] ___

[R-sig-Geo] Advice on Cross validation_ Computational limits of spatial interpolation

2011-10-04 Thread Sandeep Patil
Hello The function Automap has been of great help to me and i have set it up to perform cross validation for variables over continental USA. Essentially this is a very large dataset with about ~3500 points. There were many other dimensions , temporal etc that i wanted to explore but i could not g

[R-sig-Geo] Gstat - Installation Fail _ download source and compile help ...

2011-10-01 Thread Sandeep Patil
Hello I have been trying to install gstat on university's unix based system ( i am not familiar with many technical aspects of installation) but i am getting a particular error which i could not find a solution to online. Here is what the technical support guy mailed me back, i am sure someone who

Re: [R-sig-Geo] AUTOMAP Installation

2011-09-29 Thread Sandeep Patil
Thank you for your reply I guess it is some issue with the departmental installations , i am looking into it. On Thu, Sep 29, 2011 at 8:39 AM, Mauricio Zambrano-Bigiarini < mauricio.zambr...@jrc.ec.europa.eu> wrote: > Sandeep Patil wrote: > >> This Question is specifical

[R-sig-Geo] AUTOMAP Installation

2011-09-28 Thread Sandeep Patil
This Question is specifically about the cross validation package developed by Paul Hiemstra. I am unable to install it on R version 2.12 running on a Linux machine , has anyone tried a similar installation? [[alternative HTML version deleted]] ___

[R-sig-Geo] Distance from coast

2011-09-22 Thread Sandeep Patil
Hello does anyone know of any R -script or function which will give the value of nearest distance from coast of a point in USA. I have a number of latitude and longitude values spread evenly across USA and i want to find the nearest distance from coast for each of these points. If not a function

[R-sig-Geo] Read statement in R advanced

2011-09-21 Thread Sandeep Patil
Hello everybody I have an excel file with 412 rows and about 15 variables , i need to perform the same suite of processes on the variables one after the other( these are long processes taking a lot of time) I have encoded missing data for each column as "NA" and the spatial data for each of the v