LMK_wireframe: Compare Wireframes

Description Usage Arguments Details

View source: R/LMK_plotting.R

Description

Function to plot two landmark configurations as wireframes, and compare directly

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
LMK_wireframe(
  A1,
  A2,
  cols = c("red", "blue"),
  links = NULL,
  pts = c("point", "sphere", "none"),
  rad = c(0.001, 0.001),
  vectors = FALSE,
  ...
)

Arguments

A1

a reference

A2

a target

cols

a list of two colors to use for plots (default Red, Blue)

links

a wireframe listing landmarks to be linked

pts

Should landmarks be plotted as points, spheres, or not at all.

rad

radius to plot for spheres, default is .001. Unclear how project specific

vectors

Should vectors be drawn linking homologous landmarks. This may help show the direction of change, or could look clunky

...

Additional arguments to pass to plotting functions.

Details

Plots two LMK configurations on top of each other as some combination of fixed points and wireframe. Presumably this will be PC min/max, two group means, or mshape and a target individual, but any two matching configurations should work


lmkCHK documentation built on Oct. 23, 2020, 5:21 p.m.