Learn R Programming

OPI (version 1.6)

chooseOpi: Choose an implementation of the OPI.

Description

Chooses an implementation of the OPI to use.

Usage

chooseOpi(opiImplementation)

Arguments

opiImplementation
A character string that is one of the following.
  • "SimNo"for a simulator that always doesn't see.
  • "SimYes"for a simulator that always does see.
  • "SimHenson"for a simulator that uses a cummul

Value

  • Returns TRUE if successful, FALSE otherwise.

References

David B. Henson, Shaila Chaudry, Paul H. Artes, E. Brian Faragher, and Alec Ansons. Response Variability in the Visual Field: Comparison of Optic Neuritis, Glaucoma, Ocular Hypertension, and Normal Eyes. Investigative Ophthalmology & Visual Science, February 2000, Vol. 41(2).

A.M. McKendrick, J. Denniss and A. Turpin "Response times across the visual field: empirical observations and application to threshold determination". In submission, August 2013.

Please cite: A. Turpin, P.H. Artes and A.M. McKendrick "The Open Perimetry Interface: An enabling tool for clinical visual psychophysics", Journal of Vision 12(11) 2012.

http://perimetry.org/OPI

Examples

Run this code
if(!chooseOpi("SimHenson"))
        warnings()

Run the code above in your browser using DataLab