(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.


CRAN status R-CMD-check Codecov test coverage

smatr

(Standardised) Major Axis Estimation and Testing Routines

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 Daniel Falster.

Installation

You can simply install this package from CRAN,

install.packages("smatr")

Or install the development version from GitHub,

# install.packages("remotes")
remotes::install_github("traitecoevo/smatr")

Documentation

Function reference, vignettes and a changelog are available at https://traitecoevo.github.io/smatr/. Within R, start with vignette("smatr") and ?sma.

Issues and feature requests

Please report any issues or bugs.

To cite package smatr in publications use:

   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. 

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.

install.packages("smatr")

3.5-2 by Daniel Falster, 14 days ago


https://github.com/traitecoevo/smatr, https://traitecoevo.github.io/smatr/


Report a bug at https://github.com/traitecoevo/smatr/issues


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


Authors: David Warton [aut] , Remko Duursma [aut] , Daniel Falster [aut, cre] (ORCID: , Sara Taskinen [aut] , Fonti Kar [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports dplyr, tidyr, stringr, rlang, magrittr, ggplot2

Suggests covr, knitr, rmarkdown, markdown, testthat, withr


Imported by soiltestcorr, spDates.

Depended on by SpatialVx.

Suggested by RRphylo, ecostats, ggpmisc, httk, httkexamples.


See at CRAN