(Standardised) Major Axis Estimation and Testing Routines

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 for methods description.

smatr is an R package for fitting (Standardised) Major Axis Lines to bivariate data. The package is described in the following publication:

Warton, David I., Duursma, Remko A., Falster, Daniel S. and Taskinen, Sara (2012) smatr 3 - an R package for estimation and inference about allometric lines. Methods in Ecology and Evolution, 3(2), 257-259. doi:10.1111/j.2041-210X.2011.00153.x.


1. The Standardised Major Axis Tests and Routines (SMATR) software provides tools for estimation and inference about allometric lines, currently widely used in ecology and evolution. 2. This paper describes some significant improvements to the functionality of the package, now available on R in smatr version 3. 3. New inclusions in the package include sma and ma functions that accept formula input and perform the key inference tasks; multiple comparisons; graphical methods for visualising data and checking (S)MA assumptions; robust (S)MA estimation and inference tools.

The package was programmed by David Warton, Remko Duursma and Daniel Falster and is maintained by Remko Duursma here.


You can simply install this package from CRAN,


Or install the development version from bitbucket,

devtools::install_bitbucket ("smatr", "remkoduursma")


Please report any issues or bugs.

To cite package smatr in publications use:

   WartonDavid I.DuursmaRemko A.FalsterDaniel S. and Taskinen,
  Sara (2012) smatr 3 - an R package for estimation and inference about
  allometric lines Methods in Ecology and Evolution3(2)257-259.  doi:10.1111/j.2041-210X.2011.00153.x. 

Get citation information for smatr in R with citation(package = 'smatr').


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.4-8 by Remko Duursma, 2 years ago

http://web.maths.unsw.edu.au/~dwarton, http://www.bitbucket.org/remkoduursma/smatr

Browse source code at https://github.com/cran/smatr

Authors: David Warton <[email protected]> , Remko Duursma , Daniel Falster and Sara Taskinen.

Documentation:   PDF Manual  

Task views: Multivariate Statistics

GPL-2 license

Imported by RRphylo.

Depended on by SpatialVx.

Suggested by httk.

See at CRAN