Learn R Programming

Momocs (version 1.0.0)

m2d: Converts a matrix of coordinates to a data.frame

Description

Converts a m x 2 matrix of coordinates named data.frame.

Usage

m2d(m)

Arguments

m
a matrix (see above).

Value

a data.frame (see above).

See Also

m2d the reverse function.

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

Examples

Run this code
data(wings)
m2d(wings[3])

Run the code above in your browser using DataLab