plot.CMBCovariance: Plot sample CMBCovariance

Description Usage Arguments Value Examples

Description

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

Usage

1
2
## S3 method for class 'CMBCovariance'
plot(x, ...)

Arguments

x

An object of class CMBCovariance.

...

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

Value

Produces a plot with the sample covariance function.

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

Examples

1
2
3
4
5
6
## Download the map first
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# cmbdf <- sampleCMB(df, sample.size = 100000)
# Cov <- covCMB(cmbdf, max.dist = 0.03, num.bins = 10)
# plot(Cov)

rcosmo documentation built on Feb. 14, 2020, 5:06 p.m.