Description Usage Arguments Value Citations See Also Examples
View source: R/WrapProcDist_functions.R
This function builds a square matrix of pairwise procrustes distances among specimens using
the procdist
function from the shapes
package.
1 2 3 4 5 6 7 | ProcDistanceTable(
RefShapes,
LMDim = 2,
ShapeArray = TRUE,
Method = c("full", "partial", "Riemannian", "sizeandshape"),
RefIDs = NA
)
|
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. |
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 |
RefIDs |
is a vector of the unique identifiers for each of the reference specimens in the reference dataset. These values will be used for naming the columns and rows. Default is set to NA and if a vector is not supplied the columns and rows will remain numbered consecutively. |
This function returns a square matrix of Procrustes distances, which is required for both the IDbyDistanceRawDataCCV
and the BoundaryFinder
functions.
Ian L. Dryden (2016). shapes: Statistical Shape Analysis. R package version 1.1-13. https://CRAN.R-project.org/package=shapes
1 | #RatDistMat <- ProcDistanceTable(Rpraetor$LMs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.