Learn R Programming

eye (version 0.1.0)

which_va: Guessing the VA class

Description

Guessing the VA notation (VA class). Requires x that was prepared with clean_va

  • which_va: guessing VA class for entire vector

  • which_va_dissect: guessing VA class for each vector element

Usage

which_va(x, quali = c("nlp", "lp", "hm", "cf"))

which_va_dissect(elem, from_logmar)

Arguments

x

Vector with VA entries

quali

strings for qualitative visual acuity entries

elem

element of vector to convert

from_logmar

chose logmar when guessing between two notations

Value

character vector indicating guessed VA notation

See Also

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