Dear Erin,

you might want to take a look at the gstat function "variogramLine" and set the 
parameter "covariance" to TRUE. The argument "dist_vector" takes as well a 
distance matrix and will then return a covariance matrix. 

HTH, best wishes,

 Ben

"Hodgess, Erin" <hodge...@uhd.edu> wrote:
>Hi!
>
>Here is a goofy question, please:  how do I get the covariance matrix
>based on the estimated model, say exponential, please?
>
>I was looking at the "variogram" function in gstat and I think that the
>gamma values may be part of the solution, but I'm not sure how to
>finish it out.
>
>I'm experimenting with putting together a toy data set through the
>variogram and kriging process by hand (to a certain extent)
>
>Thanks for any help!
>Sincerely,
>Erin
>
>
>       [[alternative HTML version deleted]]
>
>_______________________________________________
>R-sig-Geo mailing list
>R-sig-Geo@r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Benedikt Gräler

Institute for Geoinformatics
University of Münster

http://www.ifgi.de/graeler

+49 251 83 33082

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

Reply via email to