Learn R Programming

rcosmo (version 1.1.6)

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")

Value

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

Arguments

cmbdf

A CMBDataFrame.

win

A CMBWindow

intensities

A CMBDataFrame column with measured values.

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 “theoretical” normal quantile-quantile plot.

References

qqnorm, qqplot, qqplotWin

Examples

Run this code
set.seed(1)
cmbdf <- CMBDataFrame(nside = 8, I = rnorm(12 * 8^2), ordering = "nested")
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