[R-sig-Geo] variogramCloud to gstatVariogram in gstat
Edzer Pebesma
edzer@pebe@m@ @end|ng |rom un|-muen@ter@de
Tue Oct 1 21:52:46 CEST 2019
Not elegant, but this might work:
x # is your variogramCloud
x$np = 1
class(x) = c("gstatVariogram", "data.frame")
On 10/1/19 8:20 PM, Benjamin Hemingway wrote:
> Hello,
>
> I am computing the variogram from points measured along profiles. I do not
> want to compute the variogram from pairs of points belonging to the same
> profile. To accomplish this I am iterating through each point and computing
> the variogram cloud, keeping only the point pairs that I want. However, I
> would like to plot the sample variogram and fit a model to it using only
> the point pairs in my final variogramCloud data frame.
>
> Is there an elegant way to convert a variogramCloud data frame to a
> gstatVariogram data frame?
>
> Ben
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48151 Muenster, Germany
Phone: +49 251 8333081
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 3110 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20191001/192edb6b/attachment.bin>
More information about the R-sig-Geo
mailing list