This function requires the rgl package. Given a N x 3 x M array (where M is the number of specimens and N is the number of landmarks), as used elsewhere in this package, plot each specimen in a different colour in an intereactive 3D frame.

1 2 |

`A` |
An N x 3 x M array. |

`l1` |
Optional vector of indices for which landmarks to use to make a specimen midline. If NULL, no midline plane is plotted. |

`midlineSpecimens` |
Numeric vector indicating which specimens should be used to built the midline plane. If NULL, but l1 is defined, all specimens are used. |

`cols` |
A vector of colours. |

`bySpecimen` |
Logical that determined whether points should be coloured by specimen (default) or by landmark. |

`planeOptions` |
Named list of parameters passed to |

`...` |
Further parameters passed to |

`plot3d`

`mirrorfill`

`planes3d`

`rgl.material`

1 2 3 4 5 6 7 8 9 | ```
A <- array(rep(rnorm(3 * 20, sd = 30), by = 6) + rnorm(6 * 20 * 3),
dim = c(20, 3, 6))
plotSpecimens(A)
plotSpecimens(A, bySpecimen = FALSE)
plotSpecimens(A, cols = grey(seq(0, 1, length.out = 6)))
plotSpecimens(A, l1 = c(1:4), planeOptions = list(alpha = 0.4, color = 'red'))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.