Colour Vision Models
Overview
Colour vision models, colour spaces and colour thresholds. Provides flexibility to build user-defined colour vision models for n number of photoreceptor types. Includes Vorobyev & Osorio (1998) Receptor Noise Limited models doi:10.1098/rspb.1998.0302, Chittka (1992) colour hexagon doi:10.1007/BF00199331, and Endler & Mielke (2005) model doi:10.1111/j.1095-8312.2005.00540.x. Models have been extended to accept any number of photoreceptor types.
1. Changed how receptor noise is calculated when noise=FALSE to avoid misspecification by users (relevant for the RNLmodel and RNLthres functions). Now the n values are divided by their maximum before further calculations.
2. Updated the vignette presentation.
3. Updated deprecated rgl functions.
4. Added a function to calculate Weber achromatic contrasts (RNLachrom).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 31includes a package overview page
- Examples that run
- 100%19 run in a plain check
- Exported functions with examples
- 59%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 65%
Downloads
Dependencies
Installing colourvision adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Maintainer since 0.1 (2016)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.1.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 2.0.42021-08-02 · diff ↗
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-01-31
- 2.0.32021-01-31 · diff ↗
- archivedRemoved from CRAN2021-01-30check problems were not corrected in time Unconditional use of cairo-based devices
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.0.22018-08-01 · diff ↗
- 2.0.12018-05-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2016-11-10
- Total releases
- 9 / 10 yrs
- License
- GPL-2 OSI
- Bundled data
- 8.6 KB / 3 files
- Download size
- 576 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("colourvision")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
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.