Learn R Programming

Momocs (version 0.1-01)

dev.quant: Calculates and plots sum of euclidean deviations between original and reconstructed outlines.

Description

Calculates and plots sum of euclidean deviations between one or a range of original and reconstructed shapes, normalized by the calliper length, i.e. the longest length measured between two outlines points.

Usage

dev.quant(Coo, id = 1:length(Coo@coo), nb.h = 32, smooth.it = 0, plot=TRUE)

Arguments

Coo
the Coo object
id
integer indicating the single or the range of outlines indices to consider
nb.h
integer indicating how many harmonics to calculate
smooth.it
integer indicating how many smoothing iterations to perform
plot
a logical indicating whether to plot or not the results

Examples

Run this code
data(bottles.cont)
dev.quant(bottles.cont, id=4)
dev.quant(bottles.cont, id=4, nb.h=12)

Run the code above in your browser using DataLab