Description Usage Arguments Value Citations Author(s)
View source: R/WrapProcDist_functions.R
This function is a wrapper for the procdist
function from the shapes
package.
It constructs distances between a target shape and reference shapes using the method specified.
1 2 3 4 5 6 7 | ShapeDist2Specimen(
RefShapes,
TargetShape,
LMDim = 2,
ShapeArray = TRUE,
Method = c("full", "partial", "Riemannian", "sizeandshape")
)
|
RefShapes |
either an array where rows are landmarks and columns are dimensions (i.e. x, y, and z) and slices are specimens or a matrix of coordinated where rows are specimens and columns are landmark coordinates in the format X1, Y1, X2, Y2... etc. |
TargetShape |
either a matrix where rows are landmarks and columns are dimensions (i.e. x, y, and z) or a vector of coordinated in the format X1, Y1, X2, Y2... etc. |
LMDim |
set to either 2 or 3 to denote whether the data is 2D or 3D. Default is set to 2. |
ShapeArray |
either TRUE to denote that |
Method |
this is passed to the |
The distance between the point of interest TargetShape
to all other points in the reference material RefShapes
.
Ian L. Dryden (2016). shapes: Statistical Shape Analysis. R package version 1.1-13. https://CRAN.R-project.org/package=shapes
Ardern Hulme-Beaman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.