Learn R Programming

Momocs (version 0.1-01)

closed.outline: Closes outlines.

Description

Closes lists of outline coordinates.

Usage

closed.outline(cont)

Arguments

cont
list or matrix of $(x; y)$ coordinates

Value

  • The list of $(x; y)$ coordinates provided with the first coordinates added at the end of the list.

Examples

Run this code
fake <- list(x=1:4, y=5:8)
closed.outline(fake)

Run the code above in your browser using DataLab