Learn R Programming

rcosmo (version 1.1.6)

plot.CMBCovariance: Plot sample CMBCovariance

Description

Plots sample (empirical) covariance function. Uses plot.variogram from geoR package.

Usage

# S3 method for CMBCovariance
plot(x, ...)

Value

Produces a plot with the sample covariance function.

#'@references geoR package, covCMB, variog, plot.variogram

Arguments

x

An object of class CMBCovariance.

...

Extra arguments as in plot.variogram passed to plot.default.

Examples

Run this code
set.seed(1)
cmbdf <- CMBDataFrame(nside = 8, I = rnorm(12 * 8^2), ordering = "nested")
Cov <- covCMB(cmbdf, max.dist = pi/2, num.bins = 6)
plot(Cov)

Run the code above in your browser using DataLab