Learn R Programming

Momocs (version 0.2-03)

a2l: Converts an array of coordinates to a list.

Description

a2l converts an array of coordinates into a list of 2-cols matrices.

Usage

a2l(a)

Arguments

a
An array of coordinates.

Value

  • A list with 2-cols matrices of (x; y) coordinates.

See Also

l2a

Examples

Run this code
data(gorf.dat)
l <- a2l(gorf.dat)
a <- l2a(l)
A.plot(a)

Run the code above in your browser using DataLab