[R] R version 3.3.2, Windows 10: gstat package: Error in fitting a variogram model using 'fit.variogram' function

2017-09-24 Thread Rathore, Saubhagya Singh
Dear Members, I am trying to fit a variogram model using fit.variogram function from the gstat package. The figure showing my experimental variogram can be seen here: https://i.stack.imgur.com/UZXw4.png My code line for this operation is: > c2.vgm.fit<-fit.variogram(c2.vgm.exp,vgm(nugget=0,

Re: [R] R version 3.3.2, Windows 10: Applying a function to each possible pair of rows from two different data-frames

2017-06-23 Thread Rathore, Saubhagya Singh
had (user:61, system: 0.01 , elapsed: 0.62). Thank you again for your generous help. Saubhagya -Original Message- From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Friday, June 23, 2017 3:20 PM To: Rathore, Saubhagya Singh <saubha...@gatech.edu> Cc: r-help@r-project.org S

Re: [R] R version 3.3.2, Windows 10: Applying a function to each possible pair of rows from two different data-frames

2017-06-23 Thread Rathore, Saubhagya Singh
generous help. -Original Message- From: Rui Barradas [mailto:ruipbarra...@sapo.pt] Sent: Friday, June 23, 2017 12:03 PM To: Rathore, Saubhagya Singh <saubha...@gatech.edu>; r-help-ow...@r-project.org; r-help@r-project.org Subject: Re: [R] R version 3.3.2, Windows 10: Applying a fu

Re: [R] R version 3.3.2, Windows 10: Applying a function to each possible pair of rows from two different data-frames

2017-06-23 Thread Rathore, Saubhagya Singh
um((D1[i,1:2]-D2[j,1:2])^2)),difference=(D1[i,3]-D2[j,3])^2) D3<-rbind(D3,temp) } } Thank you -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of r-help-ow...@r-project.org Sent: Friday, June 23, 2017 10:47 AM To: Rathore, Saubhagya Singh <saubha...@g

[R] R version 3.3.2, Windows 10: How to identify the common coordinates in two different SpatialPixelDataFrame

2017-03-27 Thread Rathore, Saubhagya Singh
Hello Everyone, I am resending this message as due to some reason, the message was not posted on the list before. I have two SpatialPixelDataFrames (a and b) which have few common coordinates/locations. I need to identify these common coordinates and remove them from both the dataframes.

Re: [R] R version 3.3.2, Windows 10 -- gstat.predict() function often return NaN values (GSTAT Package)

2017-02-16 Thread Rathore, Saubhagya Singh
# Plotting the field library(sp) gridded(yy) = ~x+y spplot(obj=yy[1]) ## Code ends= -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rathore, Saubhagya Singh Sent: Wednesday, February 1

[R] R version 3.3.2, Windows 10 -- gstat.predict() function often return NaN values (GSTAT Package)

2017-02-16 Thread Rathore, Saubhagya Singh
__ R-help@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