summary.HPDataFrame: Summarise a 'HPDataFrame'

Description Usage Arguments Value Examples

View source: R/HPDataFrame.R

Description

This function produces a summary from a HPDataFrame.

Usage

1
2
## S3 method for class 'HPDataFrame'
summary(object, intensities = "I", ...)

Arguments

object

A HPDataFrame.

intensities

the name of a column specifying intensities (or potentially another numeric quantity of interest)

...

Unused arguments.

Value

A summary includes window's type and area, total area covered by observations, and main statistics for intensity values

Examples

1
2
3
4
5
6
ns <- 2
hpdf <- HPDataFrame(I = rnorm(12*ns^2), nside = 2,
                    ordering = "nested")
win <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
hpdf.win <- window(hpdf, new.window = win)
summary(hpdf.win)

rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.