Skip to contents

This S3 method converts an adjacency key object to a numeric (double) vector, applying as.numeric to each element.

Usage

# S3 method for class 'adjacency.key'
as.double(x, ...)

Arguments

x

An adjacency key object (matrix or list) to convert to numeric.

...

Additional arguments (unused).

Value

A numeric vector representation of the adjacency key.