Learn R Programming

eye (version 0.1.0)

snellen_steps: Convert plus minus entries

Description

used in conversion method for class snellen

  • Removing "plus" and "minus" from snellen notation

    • if entry -1 to +3 : take same Snellen value

    • if <= -2 : take Snellen value one line below

    • if >+3 (unlikely, but unfortunately not impossible): Snellen value one line above

Usage

snellensteps(y)

Arguments

y

Vector with VA entries of class snellen - needs to be in format xx/yy

Value

character vector of Snellen entries

snellen_steps

Snellen are unfortunately often entered with "+/-", which is a violation of a psychophysical method designed to assign one unambiguous value to visual acuity, with non-arbitrary thresholds based on psychometric functions. Therefore, transforming "+/-" notation to actual results is in itself problematic and the below suggestion to convert it will remain an approximation to the most likely "true" result. Even more so, as the given conditions should work for charts with 4 or 5 optotypes in a line, and visual acuity is not always tested on such charts. Yet, I believe that the approach is still better than just omitting the letters or (worse) assigning a missing value to those entries.

See Also

https://en.wikipedia.org/wiki/Psychometric_function

Other VA converter: va_dissect(), va_methods, va(), which_va()