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
snellensteps(y)Vector with VA entries of class snellen - needs to be in format xx/yy
character vector of Snellen entries
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.
https://en.wikipedia.org/wiki/Psychometric_function
Other VA converter:
va_dissect(),
va_methods,
va(),
which_va()