Learn R Programming

Momocs (version 0.1-01)

dev.qual: Calculates and plots reconstructed outlines.

Description

Calculates and plots inverse reconstruction of outlines based on the list of coordinates in a Coo-object and a given number of harmonics and/or smoothing iterations. This methods is the visual way to calibrate Elliptical Fourier Analysis parameters.

Usage

dev.qual(Coo, id = 1:length(Coo@coo),
	 nb.h = 32, smooth.it = 0, range = seq(1, nb.h, len=4))

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
range
integer indicating the range of harmonics orders to explore

Examples

Run this code
data(bottles.cont)
dev.qual(bottles.cont)
dev.qual(bottles.cont, id=24)
dev.qual(bottles.cont, id=24, nb.h=64)
dev.qual(bottles.cont, range=seq(1,16))
dev.qual(bottles.cont, smooth.it = 50)

Run the code above in your browser using DataLab