Learn R Programming

Momocs (version 1.0.0)

m2ll: Converts a matrix of coordinates into a list of matrices

Description

Used internally to hanle coo and cur in Ldk objects but may be useful elsewhere

Usage

m2ll(m, index = NULL)

Arguments

m
matrix, typically of (x; y) coordinates
index
numeric, the number of coordinates for every slice.

See Also

Other bridges functions: a2l, a2m, as_df, l2a, l2m, m2a, m2d, m2l

Examples

Run this code
m2ll(wings[1], c(6, 4, 3, 5))

Run the code above in your browser using DataLab