rcosmo (version 1.1.2)

plotcovmodelCMB: Plot theoretical CMBCovariance

Description

Plots theoretical covariance functions from the list defined in covmodelCMB

Usage

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

Arguments

cov.model

A type of the correlation 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 correlation 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 covariance function.

References

covmodelCMB

Examples

Run this code
# NOT RUN {
plotcovmodelCMB("matern", sigmasq = 5)
plotcovmodelCMB("askey", phi = pi/4, to  = pi/2, kappa = 4)


# }

Run the code above in your browser using DataLab