Learn R Programming

Momocs (version 1.0.0)

calibrate_reconstructions: Calibrate using reconstructed shapes

Description

Calculate and displays reconstructed shapes using a range of harmonic number. Compare them visually with the maximal fit.

Usage

calibrate_reconstructions(x, method, id, range, baseline1, baseline2)

Arguments

x
the Coo object on which to calibrate_reconstructions
method
any method from c('efourier', 'rfourier', 'tfourier') for Out, or from c('opoly', 'npoly', 'dfourier') for Opn
id
the shape on which to perform calibrate_reconstructions
range
vector of harmonics on which to perform calibrate_reconstructions
baseline1
$(x; y)$ coordinates for the first point of the baseline
baseline2
$(x; y)$ coordinates for the second point of the baseline
...
only used for the generic

Value

a ggplot object

See Also

Other calibration: calibrate_deviations, calibrate_harmonicpower, calibrate_r2

Examples

Run this code
data(bot)
calibrate_reconstructions(bot, "efourier")

data(olea)
calibrate_reconstructions(olea, "dfourier")

Run the code above in your browser using DataLab