as_anchors: Coerce to anchors

View source: R/methods_anchors.R

as_anchorsR Documentation

Coerce to anchors

Description

Function to coerce to anchors if possible.

Usage

as_anchors(x)

Arguments

x

A two column matrix or data.frame with integers.

Details

The resulting anchors has the default 'type' attribute "custom".

Value

An object of class anchors.

See Also

anchors

Examples

## Not run: 
as_anchors(matrix(1:20, 2))

## End(Not run)

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