rcosmo (version 1.1.2)

qqnormWin: Normal QQ plot for CMBWindow

Description

This function is a modification of standard qqnorm functions to work with CMBWindow regions.

Usage

qqnormWin(cmbdf, win, intensities = "I")

Arguments

cmbdf
intensities

A CMBDataFrame column with measured values.

Value

A list with quantile components x and y and a normal QQ plot with QQ line

Details

qqnormWin returns a normal QQ plot of for the specified CMBDataFrame column intensities and CMBWindow region. The function automatically adds a line of a <U+201C>theoretical<U+201D> normal quantile-quantile plot.

References

qqnorm, qqplot, qqplotWin

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 = 1000)

# win1 <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
# qqnormWin(cmbdf, win1)

# }

Run the code above in your browser using DataLab