plotvariogram: Plot theoretical variogram

plotvariogramR Documentation

Plot theoretical variogram

Description

Plots theoretical variogram functions from the list defined in covmodelCMB

Usage

plotvariogram(
  cov.model = "matern",
  sigmasq = 1,
  phi = pi,
  kappa = 0.5,
  from = 0,
  to = pi,
  ...
)

Arguments

cov.model

A type of the variogram function. Available choices are: "matern", "exponential","spherical", "powered.exponential", "cauchy", "gencauchy", "pure.nugget", "askey", "c2wendland", "c4wendland", "sinepower", "multiquadric". The default is "matern"

sigmasq

The variance parameter as documented in covmodelCMB. The default is 1.

phi

The range parameter as documented in covmodelCMB. The default is pi.

kappa

A smoothness parameter of the variogram function. The default is 0.5.

from

A lower range of the plotting region. The default is lb =0

to

An upper range of the plotting region. The default is ub= pi.

...

optional plotting parameters.

Value

Produces a plot with the theoretical variogram.

References

covmodelCMB

Examples


plotvariogram("matern", sigmasq = 5)
plotvariogram("askey", phi = pi/4, to  = pi/2, kappa = 4)



frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.