Check for object class "corr2d"

Share:

Description

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

Usage

1
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

Examples

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