Learn R Programming

rcosmo (version 1.1.6)

plot.CMBCorrelation: Plot sample CMBCorrelation

Description

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

Usage

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

Value

Produces a plot with the sample correlation function.

Arguments

x

An object of class CMBCorrelation.

...

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

References

geoR package, corrCMB, variog, plot.variogram

Examples

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

Run the code above in your browser using DataLab