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.

Author
Jeremiah MF Kelly
Date of publication
2016-06-02 15:21:03
Maintainer
Jeremiah MF Kelly <emkayoh@mac.com>
License
GPL-3
Version
0.9.8
URLs

View on CRAN

Man pages

AICc
Akaike information criterion
BestFit
BestFit
BootDark
BootDark
dark
Dark adaptation data.
Dark-package
Dark: A package to analyse dark adaptation data
Declutter
Declutter
GetData
GetData
H
This is a simple switch function.
ModelSelect
ModelSelect
MultiStart
MultiStart
P3
Three parameter model.
P5c
Five parameter model.
P6c
A six parameter model
P7c
Seven parameter model
Start
Start
TestData
Data that can be used to test other scripts.

Files in this package

Dark
Dark/inst
Dark/inst/doc
Dark/inst/doc/Workflow.Rmd
Dark/inst/doc/parameter_exp.html
Dark/inst/doc/Workflow.R
Dark/inst/doc/parameter_exp.R
Dark/inst/doc/Workflow.html
Dark/inst/doc/parameter_exp.Rmd
Dark/tests
Dark/tests/testthat
Dark/tests/testthat/testthat.R
Dark/NAMESPACE
Dark/data
Dark/data/dark.rda
Dark/R
Dark/R/TestData.R
Dark/R/AICc.R
Dark/R/P7c.R
Dark/R/P5c.R
Dark/R/GetData.R
Dark/R/BestFit.R
Dark/R/H.R
Dark/R/Declutter.R
Dark/R/P6c.R
Dark/R/MultiStart.R
Dark/R/DarkWrap.R
Dark/R/ModelSelect.R
Dark/R/BootDark.R
Dark/R/Start.R
Dark/R/P3.R
Dark/vignettes
Dark/vignettes/Workflow.Rmd
Dark/vignettes/parameter_exp.Rmd
Dark/vignettes/dark.rda
Dark/README.md
Dark/MD5
Dark/build
Dark/build/vignette.rds
Dark/DESCRIPTION
Dark/man
Dark/man/P7c.Rd
Dark/man/ModelSelect.Rd
Dark/man/P3.Rd
Dark/man/TestData.Rd
Dark/man/AICc.Rd
Dark/man/P6c.Rd
Dark/man/GetData.Rd
Dark/man/BestFit.Rd
Dark/man/H.Rd
Dark/man/dark.Rd
Dark/man/Dark-package.Rd
Dark/man/P5c.Rd
Dark/man/BootDark.Rd
Dark/man/MultiStart.Rd
Dark/man/Declutter.Rd
Dark/man/Start.Rd