Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotlogratioVariogram

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

Value

Nothing.

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

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

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.