Learn R Programming

Momocs (version 0.2-6)

dataset: hearts: hearts dataset

Description

The hearts dataset is a Coo-class object that contains outline coordinates of 240 hand-drawn hearts by 8 different persons.

Usage

data(hearts)

Arguments

format

A Coo-object that contains in the slot @coo, the lists of $(x; y)$ coordinates and in the slot @fac a single factor "aut" with the name of the authors. Four landmarks are also registered.

source

We thank the fellows of the Ecology Department of the French Institute of Pondicherry that drawn the hearts, that then have been smoothed, scaled, centered, and reduced to 80 coordinates per outline.

Examples

Run this code
data(hearts)
levels(hearts@fac[,"aut"]) # thank you guys !
panel(hearts, cols=rep(col.summer(8), each=30), names=TRUE)

Run the code above in your browser using DataLab