Learn R Programming

OPI (version 1.6)

opiClose: Close using OPI.

Description

Generic function for closing the chosen OPI implementation that is set with chooseOpi().

Usage

opiClose(...)

Arguments

...
Implementation specific parameters. See details.

Value

  • Returns NULL if initialization succeeded, otherwise an implementation dependant error.

References

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

See Also

chooseOpi

Examples

Run this code
chooseOpi("SimGaussian")
if (!is.null(opiInitialize(sd=2)))
    stop("opiInitialize failed")
if (!is.null(opiClose()))
    stop("opiClose failed, which is very surprising!")

Run the code above in your browser using DataLab