Learn R Programming

⚠️There's a newer version (0.9.9) of this package.Take me there.

Dark (version 0.9.4)

The Analysis of Dark Adaptation Data

Description

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.

Copy Link

Version

Install

install.packages('Dark')

Monthly Downloads

205

Version

0.9.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Dr MF Kelly

Last Published

May 17th, 2015

Functions in Dark (0.9.4)

GetData

GetData
P7c

Seven parameter model
AICc

Akaike information criterion
BestFit

BestFit
Start

Start
P5c

Five parameter model.
TestData

Data that can be used to test other scripts.
dark

Dark adaptation data.
ModelSelect

ModelSelect
P3

Three parameter model.
MultiStart

MultiStart
BootDark

BootDark
Dark-package

Dark: A package to analyse dark adaptation data
H

This is a simple switch function.
Declutter

Declutter