Package: Dark 0.9.8
Dark: The Analysis of Dark Adaptation Data
The recovery of visual sensitivity in a dark environment is known as dark adaptation. In a clinical or research setting the recovery is typically measured after a dazzling flash of light and can be described by the Mahroo, Lamb and Pugh (MLP) model of dark adaptation. The functions in this package take dark adaptation data and use nonlinear regression to find the parameters of the model that 'best' describe the data. They do this by firstly, generating rapid initial objective estimates of data adaptation parameters, then a multi-start algorithm is used to reduce the possibility of a local minimum. There is also a bootstrap method to calculate parameter confidence intervals. The functions rely upon a 'dark' list or object. This object is created as the first step in the workflow and parts of the object are updated as it is processed.
Authors:
Dark_0.9.8.tar.gz
Dark_0.9.8.zip(r-4.5)Dark_0.9.8.zip(r-4.4)Dark_0.9.8.zip(r-4.3)
Dark_0.9.8.tgz(r-4.4-any)Dark_0.9.8.tgz(r-4.3-any)
Dark_0.9.8.tar.gz(r-4.5-noble)Dark_0.9.8.tar.gz(r-4.4-noble)
Dark_0.9.8.tgz(r-4.4-emscripten)Dark_0.9.8.tgz(r-4.3-emscripten)
Dark.pdf |Dark.html✨
Dark/json (API)
# Install 'Dark' in R: |
install.packages('Dark', repos = c('https://emkayoh.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/emkayoh/dark/issues
- dark - Dark adaptation data.
Last updated 8 years agofrom:243dff4e1a. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win | OK | Oct 29 2024 |
R-4.5-linux | OK | Oct 29 2024 |
R-4.4-win | OK | Oct 29 2024 |
R-4.4-mac | OK | Oct 29 2024 |
R-4.3-win | OK | Oct 29 2024 |
R-4.3-mac | OK | Oct 29 2024 |
Exports:AICcBestFitBootDarkDeclutterGetDataHModelSelectMultiStartP3P5cP6cP7cStartTestData
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Dark: A package to analyse dark adaptation data | Dark-package Dark |
Akaike information criterion | AICc |
BestFit | BestFit |
BootDark | BootDark |
Dark adaptation data. | dark |
Declutter | Declutter |
GetData | GetData |
This is a simple switch function. | H |
ModelSelect | ModelSelect |
MultiStart | MultiStart |
Three parameter model. | P3 |
Five parameter model. | P5c |
A six parameter model | P6c |
Seven parameter model | P7c |
Start | Start |
Data that can be used to test other scripts. | TestData |