Statistical Shape Analysis
Overview
Routines for the statistical analysis of landmark shapes, including Procrustes analysis, graphical displays, principal components analysis, permutation and bootstrap tests, thin-plate spline transformation grids and comparing covariance matrices. See Dryden, I.L. and Mardia, K.V. (2016). Statistical shape analysis, with Applications in R (2nd Edition), John Wiley and Sons.
Features
pns includes extra options for deciding between great vs small spheres at each stage, namely ks.test, var.test, distr (LR test using particular distributions)
fastpns carries out pns but also has an option to first reduce dimension by PCA to n.pc, then fit pns. Useful for high-dimensional data, e.g. dimension > 30.
Added an option to pns and pnss3d to choose the mean.type. Previously was Frechet and now can be Fisher if desired.
Fixes
Fixed a bug in the plot of the PNS mean in the function pns
Included more (1000) values to search for Frechet mean at last stage, rather than just n (which may be small). Hence this is more accurate.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-06-08
- WARNING12 OK, 1 WARNING2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 55 (1 internal)
- Examples that run
- 98%53 run in a plain check · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 93%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 362
- Median days to close, 50 most recently updated closed PRs
- 50
Stars over time
Forks over time
Issues over time
PRs over time
Checks run against github.com/iandryden/shapes on 2026-10-18.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing shapes adds 31 packages (17 with compiled code, 26 MB of source tarballs). Heaviest: bslib 5.6 MB, rgl 4.0 MB, sass 2.9 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.8Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.2.72023-02-03 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.2.62021-03-31 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.2.52019-12-02 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.2.42018-08-18 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.2.32017-11-18 · diff ↗
- 1.2.22017-11-04 · diff ↗
Show 48 earlier eventsHide 48 earlier events
- 1.2.12017-09-22 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.2.02017-02-03 · diff ↗
- 1.1-132016-07-06 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.1-112015-08-18 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.1-102014-09-20 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.1-92013-12-21 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.1-82013-03-28 · diff ↗
- 1.1-72013-01-16 · diff ↗
- 1.1-6
- RR 2.15.0 released · 2012-03-30
- 1.1-52012-01-04 · diff ↗
- 1.1-42011-12-15 · diff ↗
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 1.1-32009-05-27 · diff ↗
- 1.1-22009-04-17 · diff ↗
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- 1.1-12007-12-10 · diff ↗
- 1.1-02007-10-29 · diff ↗
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 1.0-122007-03-16 · diff ↗
- 1.0-102006-11-14 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 1.0-92006-05-29 · diff ↗
- RR 2.3.0 released · 2006-04-24
- RR 2.2.0 released · 2005-10-06
- RR 2.1.0 released · 2005-04-18
- 1.0-82004-12-16 · diff ↗
- RR 2.0.0 released · 2004-10-04
- RR 1.9.0 released · 2004-04-12
- 1.0-72003-11-24 · diff ↗
- 1.0-62003-11-10 · diff ↗
- 1.0-42003-11-04 · diff ↗
- 1.0-22003-10-30 · diff ↗
- RR 1.8.0 released · 2003-10-08
- 1.02003-09-16
- RR 1.7.0 released · 2003-04-16
Package metadata
- First published
- 2003-09-16
- Total releases
- 31 / 23 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 245 KB / 31 files
- Download size
- 360 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("shapes")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.