Learn R Programming

Momocs (version 0.1-03)

Dataset: hearts: Hearts dataset

Description

The hearts dataset is a Coo-class object that contains outline coordinates of 450 hand-drawn hearts by 15 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 the corresponding factors.

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)
hp <- pca(eFourier(hearts, nb.h=20, norm=FALSE, start=FALSE))
dudi.plot(hp, "aut",
		  pch=20, star=FALSE, cex.points=0.2, clabel=0.5, axesell=FALSE,
          nr.shp=15, nc.shp=15, scale.shp=0.2, pos.shp="full", col.shp=NULL)

Run the code above in your browser using DataLab