powered by
tps_iso calculates deformations between two configurations and map them with or without isolines.
tps_iso
tps_iso( fr, to, amp = 1, grid = FALSE, over = 1.2, palette = col_spring, iso.nb = 1000, iso.levels = 12, cont = TRUE, cont.col = "black", poly = TRUE, shp = TRUE, shp.border = col_qual(2), shp.lwd = c(2, 2), shp.lty = c(1, 1), legend = TRUE, legend.text, ... )
No returned value
The reference \((x; y)\) coordinates
The target \((x; y)\) coordinates
An amplification factor of differences between fr and to
fr
to
whether to calculate and plot changes across the graphical window TRUE or just within the starting shape (FALSE)
TRUE
FALSE
A numeric that indicates how much the thin plate splines extends over the shapes
numeric
A color palette such those included in Momocs or produced with colorRampPalette
A numeric. The number of points to use for the calculation of deformation
numeric. The number of levels for mapping the deformations
logical. Whether to draw contour lines
logical
A color for drawing the contour lines
whether to draw polygons (for outlines) or points (for landmarks)
logical. Whether to draw shapes
Two colors for drawing the borders
Two lwd for drawing shapes
lwd
Two lty fro drawing the shapes
lty
logical whether to plot a legend
some text for the legend
additional arguments to feed coo_draw
Other thin plate splines: tps2d(), tps_arr(), tps_grid(), tps_raw()
tps2d()
tps_arr()
tps_grid()
tps_raw()
botF <- efourier(bot) x <- MSHAPES(botF, 'type', nb.pts=80)$shp fr <- x$beer to <- x$whisky tps_iso(fr, to, iso.nb=200, amp=3) tps_iso(fr, to, iso.nb=200, amp=3, grid=TRUE)
Run the code above in your browser using DataLab