Dark: The Analysis of Dark Adaptation Data
Version 0.9.8

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.

Browse man pages Browse package API and functions Browse package files

AuthorJeremiah MF Kelly
Date of publication2016-06-02 15:21:03
MaintainerJeremiah MF Kelly <emkayoh@mac.com>
LicenseGPL-3
Version0.9.8
URL https://github.com/emkayoh/Dark http://www.nihr.ac.uk
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("Dark")

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.

Functions

AICc Man page Source code
BestFit Man page Source code
BootDark Man page Source code
Dark Man page
Dark-package Man page
DarkWrap Source code
Declutter Man page Source code
GetData Man page Source code
H Man page Source code
ModelSelect Man page Source code
MultiStart Man page Source code
P3 Man page Source code
P5c Man page Source code
P6c Man page Source code
P7c Man page Source code
Start Man page Source code
TestData Man page Source code
dark Man page

Files

inst
inst/doc
inst/doc/Workflow.Rmd
inst/doc/parameter_exp.html
inst/doc/Workflow.R
inst/doc/parameter_exp.R
inst/doc/Workflow.html
inst/doc/parameter_exp.Rmd
tests
tests/testthat
tests/testthat/testthat.R
NAMESPACE
data
data/dark.rda
R
R/TestData.R
R/AICc.R
R/P7c.R
R/P5c.R
R/GetData.R
R/BestFit.R
R/H.R
R/Declutter.R
R/P6c.R
R/MultiStart.R
R/DarkWrap.R
R/ModelSelect.R
R/BootDark.R
R/Start.R
R/P3.R
vignettes
vignettes/Workflow.Rmd
vignettes/parameter_exp.Rmd
vignettes/dark.rda
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/P7c.Rd
man/ModelSelect.Rd
man/P3.Rd
man/TestData.Rd
man/AICc.Rd
man/P6c.Rd
man/GetData.Rd
man/BestFit.Rd
man/H.Rd
man/dark.Rd
man/Dark-package.Rd
man/P5c.Rd
man/BootDark.Rd
man/MultiStart.Rd
man/Declutter.Rd
man/Start.Rd
Dark documentation built on May 19, 2017, 4:12 p.m.