Learn R Programming

Riemann (version 0.1.6)

passiflora: Data : Passiflora Leaves

Description

Passiflora is a genus of about 550 species of flowering plants. This dataset contains 15 landmarks in 2 dimension of 3319 leaves of 40 species. Papers listed in the reference section analyzed the data and found 7 clusters.

Usage

data(passiflora)

Arguments

Format

a named list containing

data

a 3d array of size \((15\times 2\times 3319)\).

species

a length-\(3319\) vector of 40 species factors.

class

a length-\(3319\) vector of 7 cluster factors.

References

chitwood_divergent_2017Riemann

chitwood_morphometric_2017Riemann

See Also

wrap.landmark

Examples

Run this code
data(passiflora)                         # load the data
riemobj = wrap.landmark(passiflora$data) # wrap as RIEMOBJ
pga2d   = riem.pga(riemobj)$embed        # embedding via PGA

opar <- par(no.readonly=TRUE)            # visualize
plot(pga2d, col=passiflora$class, pch=19, cex=0.7,
     main="PGA Embedding of Passiflora Leaves",
     xlab="dimension 1", ylab="dimension 2")
par(opar)

Run the code above in your browser using DataLab