Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1016 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 1016 Bytes

paleomorph

Build Status codecov.io

Geometric Morphometric Tools for Paleobiology.

Fills missing symmetrical data with mirroring, calculates Procrustes alignments with or without scaling, and computes vector correlation and covariance matrices (congruence coefficients) of 3D landmarks. Tolerates missing data for all analyses. Based on code written by Anjali Goswami.

Installation

install.packages('paleomorph')
library(paleomorph)

Basic usage

# Make an array with 6 specimens and 20 landmarks
a <- array(rep(rnorm(6 * 20, sd = 20), each = 6) + rnorm(20 * 3 * 6 ), 
      dim = c(20, 3, 6))
# Align the data (although it is already largely aligned)
aligned <- procrustes(a)

plotSpecimens(aligned)