Package: | Dark |
Type: | Package |
Version: | 0.9.9 |
Date: | 2016-06-1 |
License: | GPL-3 |
Dark adaptation is the recovery of visual sensitivity in a dark environment and can be described by a physiological model. This package contains a series of functions to analyse data collected during dark adaptation.
The functions use the Mahroo Lamb and Pugh (MLP) model of dark adaptation. The functions in this package take dark adaptation data and find the parameters of the model that 'best fit' the data.
The functions generate rapid initial objective estimates of data adaptation parameters, a multi-start algorithm to reduce possibility of a local minimum. There is a bootstrap method to calculate parameter confidence intervals. There are also ancillary functions to facilitate the analysis.
The functions rely upon a *dark* list or object. This object is created by the first function and parts are added to the object as it is processed.