Learn R Programming

Momocs (version 0.2-6)

m2l: Convert a matrix of coordinates to a list of coordinates.

Description

m2l converts a matrix of (x; y)coordinates to a list with x; y components.

Usage

m2l(m)

Arguments

m
A 2-columns matrix containing x and y coordinates.

Value

  • Returns a list with x; y components.

See Also

l2m.

Examples

Run this code
data(gorf.dat)
m2l(gorf.dat[,,1])

Run the code above in your browser using DataLab