is_anchors: Test object is anchors

View source: R/methods_anchors.R

is_anchorsR Documentation

Test object is anchors

Description

Function to check if an object is anchors.

Usage

is_anchors(x)

Arguments

x

Any R object.

Value

A logical vector of length 1.

See Also

anchors

Examples

## Not run: 
m <- matrix(1:20, 10)
is_anchors(m) # FALSE

m <- as_anchors(m)
is_anchors(m) # TRUE

## End(Not run)

robinweide/GENOVA documentation built on March 14, 2024, 11:16 p.m.