lrvgram | R Documentation |
Transforms model functions for different types of compositional (logratio)(co)variograms.
cgram2vgram(cgram)
vgram2lrvgram(vgram)
cgram |
A (matrix valued) covariance function. |
vgram |
A (matrix valued) variogram functions. |
The variogram is given by cgram(0)-cgram(h)
and
lrvgram(h)[,i,j]==vgram(h)[,i,i]+vgram(h)[,i,j]-2*vgram(h)[,i,j]
.
The logratio-variogram is the set of variograms of each of the pairwise logratios. It can be proven that it carries the same information as a usual multivariate variogram. The great advantage is that all the funcitions have a direct interpreation and can be estimated even with (MAR) missings in the dataset.
A function that takes the same parameters as the input function (through a ... parameterlist), but provides the correponding variogram values (cgram2vgram) or logratio Variogram (vgram2lrvgram) values.
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
Tolosana, van den Boogaart, Pawlowsky-Glahn (2009) Estimating and modeling variograms of compositional data with occasional missing variables in R, StatGis09
logratioVariogram
,
CompLinModCoReg
,
vgmFit
data(juraset)
comp <- acomp(juraset,c("Cd","Cu","Pb","Co","Cr"))
vg <- CompLinModCoReg(~nugget()+sph(0.5)+R1*exp(0.7),comp)
vg(1:3)
vgram2lrvgram(vg)(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.