Learn R Programming

Momocs (version 1.0.0)

l2a: Converts a list of coordinates to an array of coordinates

Description

l2a converts a list of k matrices with m rows and n columns matrices to a m x n x k array.

Usage

l2a(l)

Arguments

l
list of matrices of the same dimension.

Value

an array of coordinates.

Details

May be useful to communicate with other morphometrics packages that use array of coordinates when handling configurations of landmarks.

See Also

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

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

Examples

Run this code
data(wings)
l <- wings$coo
l
a <- l2a(l)
a

Run the code above in your browser using DataLab