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
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.
Abstract:
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,
install.packages("smatr")
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 IDuursmaRemko AFalsterDaniel S and Taskinen Sara 2012 smatr 3 - an R package for estimation and inference about allometric lines Methods in Ecology and Evolution32257-259 doi:10.1111/j2041-210X2011.00153x
Get citation information for smatr
in R with citation(package = 'smatr')
.