Learn R Programming

Evomorph (version 0.9)

DistancesPlot: Plot the Procrustes distances between a set of shapes and a reference

Description

DistancesPlot creates a distances plot using ggplot2 (Wickman 2009).

Usage

DistancesPlot(dist)

Arguments

dist
Distances matrix

Value

Return an ggplot2 object

Details

Use ggplot2 to create a plot where each point represent distance between a particular shape and a reference shape.

References

H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2009.

Examples

Run this code

data("simulated_shape_distances")

#Plot distances between a set of simulated shapes a reference.

DistancesPlot(simulated_shape_distances)

Run the code above in your browser using DataLab