[R-sig-Geo] covariance matrix

Benedikt Gräler ben.graeler at uni-muenster.de
Thu Dec 5 09:28:27 CET 2013


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" <HodgessE at 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 at 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



More information about the R-sig-Geo mailing list