plotlogratioVariogram: Empirical variograms for compositions

plotlogratioVariogramR 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 logratioVariogram

...

further parameters for plot.default

type

as in plot.default

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 mar

ylim

The limits of the Y-axis. If zero it is automatically computed.

Details

see logratioVariogram

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)

compositions documentation built on June 22, 2024, 12:15 p.m.