Learn R Programming

rcosmo (version 1.1.6)

is.HPDataFrame: Check if an object is of class HPDataFrame

Description

Check if an object is of class HPDataFrame

Usage

is.HPDataFrame(hpdf)

Value

TRUE if hpdf is a HPDataFrame, otherwise FALSE

Arguments

hpdf

Any R object

Examples

Run this code

df <- CMBDataFrame(nside = 16)
is.HPDataFrame(df)

df <- HPDataFrame(I = rep(0,12), nside = 1)
is.HPDataFrame(df)

Run the code above in your browser using DataLab