is.corr2d: Check for object class "corr2d"

View source: R/corr2d.R

is.corr2dR Documentation

Check for object class "corr2d"

Description

The function checks if an object is of class "corr2d".

Usage

is.corr2d(x)

Arguments

x

An object which should be check if it is of class "corr2d".

Details

The function uses the inherits function.

Value

A logical scalar

References

R. Geitner et al. (2019) <DOI:10.18637/jss.v090.i03>

Examples

    data(FuranMale, package = "corr2D")
    twod <- corr2d(FuranMale, Ref1 = FuranMale[1, ], corenumber = 1)
    
    # TRUE
    is.corr2d(twod) 
    # FALSE
    is.corr2d(2) 


corr2D documentation built on July 14, 2022, 5:06 p.m.