exprob | R Documentation |
This function returns an estimated exceedance probability for the specified
CMBDataFrame
column intensities
, threshold level
alpha and CMBWindow
region.
exprob(cmbdf, win, alpha, intensities = "I")
cmbdf |
A |
win |
A |
alpha |
A numeric threshold level. |
intensities |
The name of the column in |
Estimated threshold exceedance probability
## Download the map first # downloadCMBMap(foreground = "smica", nside = 1024) # df <- CMBDataFrame("CMB_map_smica1024.fits") # cmbdf <- sampleCMB(df, sample.size = 1000) # intensities <- "I" # alpha <- mean(cmbdf[,intensities, drop = TRUE]) # alpha # win1 <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2)) # exprob(cmbdf, win1, alpha)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.