plotlogratioVariogram {compositions} | R Documentation |
Empirical variograms for compositions
Description
Plots a logratioVariogram.
Usage
## S3 method for class 'logratioVariogram'
plot(x,...,type="l",lrvg=NULL,
fcols=2:length(lrvg),oma=c(4, 4, 4, 4),gap=0,ylim=NULL)
Arguments
x |
The logratioVariogram created by
|
... |
further parameters for |
type |
as in |
lrvg |
a model function for a logratiovariogram or a list of several, to be added to the plot. |
fcols |
the colors for the different lrvg variograms |
oma |
The outer margin of the paneled plot |
gap |
The distance of the plot panals used to determin |
ylim |
The limits of the Y-axis. If zero it is automatically computed. |
Details
Value
Nothing.
Author(s)
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
See Also
vgram2lrvgram
, CompLinModCoReg
Examples
## Not run:
data(juraset)
X <- with(juraset,cbind(X,Y))
comp <- acomp(juraset,c("Cd","Cu","Pb","Co","Cr"))
lrv <- logratioVariogram(comp,X,maxdist=1,nbins=10)
fff <- CompLinModCoReg(~nugget()+sph(0.5)+R1*exp(0.7),comp)
fit <- vgmFit(lrv,fff)
fit
fff(1:3)
plot(lrv,lrvg=vgram2lrvgram(fit$vg))
## End(Not run)
[Package compositions version 2.0-8 Index]