Learn R Programming

Momocs (version 0.2-6)

A.segments: Utilities to manipulate arrays of homologous coordinates, typically landmarks.

Description

A.segments draws interlandmarks segments as an array with landmarks as rows, $(x; y)$ coordinates as columns, and individuals as the third dimension of the array.

Usage

A.segments(A, col=NA, border.col="grey60", border.lty=1)

Arguments

A
An array of $(x; y)$ coordinates, typically, landmarks.
col
A vector of colors to use for drawing landmarks.
border.col
A color for these segments.
border.lty
A lty for these segments.

Value

  • No returned value.

See Also

A.plot, A.points, A.mshape coo.plot, and the others coo.utilities.

Examples

Run this code
data(gorf.dat) # we import gorf.data from shapes package
A.segments(gorf.dat, border.lty=2, border.col="grey95")
m <- A.mshape(gorf.dat)
points(m, pch=5)

Run the code above in your browser using DataLab