DistancesPlot {Evomorph}R Documentation

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

Details

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

Value

Return an ggplot2 object

Author(s)

Juan Manuel Cabrera

References

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

Examples


data("simulated_shape_distances")

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

DistancesPlot(simulated_shape_distances)

[Package Evomorph version 0.9 Index]