(Standardised) Major Axis Estimation and Testing Routines
Overview
Methods for fitting bivariate lines in allometry using the major axis (MA) or standardised major axis (SMA), and for making inferences about such lines. The available methods of inference include confidence intervals and one-sample tests for slope and elevation, testing for a common slope or elevation amongst several allometric lines, constructing a confidence interval for a common slope or elevation, and testing for no shift along a common axis, amongst several samples. See Warton et al. 2012 doi:10.1111/j.2041-210X.2011.00153.x for methods description.
- Restored the exports of
makeLogMinor(),seqLog(),defineAxis(),nicePlot(),alpha.fun(),huber.M(),b.com.est(),com.ci()andlr.b.com(). These were exported in smatr 3.4-8 but were accidentally dropped when the NAMESPACE was regenerated by roxygen2, so they were not available in 3.5-1 (#40). The plotting helpers are documented again on the?plotutilshelp page, with runnable examples.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 33 (9 internal)includes a package overview page
- Examples that run
- 80%12 run in a plain check · 2 never run · 1 hold no code
- Exported functions with examples
- 71%
- Documented parameters
- 85%
- Return-value docs
- 65%
- Help pages citing references
- 30%
- Getting Started HTML
Downloads
Repository
- PRs merged (all time)
- 93%
- Median days to close, 50 most recently updated closed issues
- 454
- Median days to close, 50 most recently updated closed PRs
- 1
Issues over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/traitecoevo/smatr on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-07 · The repository has a site deploy workflow
pkgdown site last built 2026-10-07
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-24Pull request it wrote: opened by a project memberCommits: at least 8 crediting it in the message
- Claude Fable 54 commits · Jul 2026
- Claude Opus 4.83 commits · Jul 2026
- Claude Opus 5.51 commit · Oct 2026
Dependencies
Installing smatr adds 29 packages (15 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Previously maintained by Remko Duursma (3.2.4 to 3.4-8) and David Warton (2.0 to 3.2.3).
Pick two releases to compare their code metrics.
- 3.5-2Latest2026-10-06 · current release · diff ↗ ··
added 9 exports
alpha.fun, b.com.est, com.ci, defineAxis, huber.M, lr.b.com, makeLogMinor, nicePlot, seqLoglisted once in CRAN's queue
Seen in one reading of CRAN's incoming queue, at 2026-10-06 20:42 UTC, so it stayed less than the time between readings. - 3.5-12026-07-28 · diff ↗ ·
removed 10 exports
alpha.fun, b.com.est, com.ci, defineAxis, fitted.sma, huber.M, lr.b.com, makeLogMinor, nicePlot, seqLog - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 3.4-82018-03-18 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
Show 25 earlier eventsHide 25 earlier events
- 3.4-32014-01-07 · diff ↗
- 3.4
- 3.32013-04-05 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 3.2.62012-04-23 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 3.2.42011-12-23 · diff ↗ ·
added 25 exports
alpha.fun, b.com.est, coef.sma, com.ci, defineAxis, elev.com, elev.test, fitted.sma, huber.M, line.cis, lr.b.com, ma, makeLogMinor, meas.est, multcompmatrix, nicePlot, plot.sma, print.sma, residuals.sma, seqLog, shift.com, slope.com, slope.test, sma, summary.sma - RR 2.14.0 released · 2011-10-31
- 3.2.32011-08-22 · diff ↗
- 3.2.22011-07-23 · diff ↗
- 3.2.02011-04-27 · diff ↗
- 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
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 2.12007-01-12 · diff ↗
- RR 2.4.0 released · 2006-10-03
- RR 2.3.0 released · 2006-04-24
- 2.02006-02-06
- RR 2.2.0 released · 2005-10-06
Package metadata
- First published
- 2006-02-06
- Total releases
- 13 / 20 yrs
- License
- GPL (>= 3) OSI
- Bundled data
- 11 KB / 2 files
- Download size
- 238 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("smatr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/j.2041-210x.2011.00153.x.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.