Skip to contents

This function tests if the object x inherits from the contactmatrix object.

Usage

is_contactmatrix(x)

Arguments

x

object to test

Value

A logical (TRUE or FALSE) indicating whether this object is a contactmatrix object.

Note

This doesn't say anything about whether x is a valid contactmatrix object as defined in this package. You can use assert_contactmatrix() for this.