rcosmo (version 1.1.2)

plot.variogram: Plot sample variogram

Description

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

Arguments

x

An object of class variogram.

...

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

Value

Produces a plot with the sample variogram.

References

geoR package, variogramCMB, variog, plot.variogram

Examples

Run this code
# NOT RUN {
## Download the map first
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# cmbdf <- sampleCMB(df, sample.size = 100000)
# varcmb <- variogramCMB(cmbdf, max.dist = 0.1, num.bins = 30, sample.size=1000)
# plot(varcmb)

# }

Run the code above in your browser using DataCamp Workspace