plausibility_methods {eye} | R Documentation |
Plausibility checking
Description
S3 methods for checking plausibility of VA entries
Usage
checkVA(x, ...)
## S3 method for class 'quali'
checkVA(x, ...)
## S3 method for class 'snellen'
checkVA(x, ...)
## S3 method for class 'snellendec'
checkVA(x, ...)
## S3 method for class 'logmar'
checkVA(x, ...)
## S3 method for class 'etdrs'
checkVA(x, ...)
## Default S3 method:
checkVA(x, ...)
Arguments
x |
vector of visual acuities |
... |
further arguments passed to methods |
Value
vector with visual acuity of class va
. See also "VA classes"
Plausibility checks
VA can be snellen (fraction: feet/meter), snellen decimal, logMAR, ETDRS, or "qualitative" (Counting fingers, etc.)
Snellen fractions need to be either form 6/x or 20/x
Snellen decimal must be > 0 and <= 2
ETDRS must be >= 0 and <= 100
logMAR must be >= -0.3 and <= 3.0
Qualitative must be PL, LP, NLP, NPL, HM, CF (any case allowed)
Any element which is implausible / not recognized will be converted to NA
See Also
Other VA converter:
VAwrapper
,
snellen_steps
,
va_methods
,
va_mixed()
,
va()
,
which_va()
[Package eye version 1.2.1 Index]