Fitting Hansen Models to Investigate Convergent Evolution
Overview
This data-driven phylogenetic comparative method fits stabilizing selection models to continuous trait data, building on the 'ouch' methodology of Butler and King (2004) doi:10.1086/426002. The main functions fit a series of Hansen models using stepwise AIC, then identify cases of convergent evolution where multiple lineages have shifted to the same adaptive peak. For more information see Ingram and Mahler (2013) doi:10.1111/2041-210X.12034.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 16includes a package overview page
- Examples that run
- 63%10 run in a plain check · 5 never run · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2024-08-19
- archivedRemoved from CRAN2024-08-19issues were not corrected despite reminders
- 0.6Latest
- 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
- unarchivedReturned to CRAN2020-12-18
- 0.52020-12-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2020-02-19check problems were not corrected despite reminders
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
Show 9 earlier eventsHide 9 earlier events
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 0.4-12014-02-14 · diff ↗
- 0.4
- RR 3.0.0 released · 2013-04-03
- 0.3
- 0.22013-01-04
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-01-04
- Total releases
- 6 / 13 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.6
- Bundled data
- 4.9 KB / 1 file
- Download size
- 222 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("surface")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.12034.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.