| VAObject-class {JWileymisc} | R Documentation |
An S4 class to hold visual acuity data
Description
A class to hold Visual Acuity data for the oculus sinister (OS; left eye) and oculus dexter (OD; right eye)
Usage
## S4 method for signature 'VAObject,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'VAObject'
print(x, ...)
## S4 method for signature 'VAObject'
show(object)
## S4 method for signature 'VAObject'
summary(object, weightbest = TRUE, w = c(0.75, 0.25))
Arguments
x |
the object to subset |
i |
the rows to subset (optional) |
j |
the columns to subset (optional) |
... |
Additional arguments passed to lower functions |
drop |
should be missing |
object |
A VAObject class object |
weightbest |
Logical whether to upweight the best seeing eye.
Defaults to |
w |
A numeric vector of the weights, first for the best seeing
then the worst seeing eye. Defaults to |
Methods (by generic)
-
x[i: extract method -
print(VAObject): print method -
show(VAObject): show method -
summary(VAObject): summary method
Slots
originalOSthe original visual acuity data for the left (ocular sinister) eye
originalODthe original visual acuity data for the right (ocular dexter) eye
logMAROSLogarithm of the minimum angle of resolution data for OS
logMARODLogarithm of the minimum angle of resolution data for OD
chart.valuesthe snellen values for each line of the chart used to measure visual acuity. Used for the linear interpolation in the case of partially correct line readings.
chart.nlettersthe number of letters on each line of the chart used to measure visual acuity. Used for the linear interpolation in the case of partially correct line readings (+2 is 2/4 of the way to the next line if there are four letters, but only 2/6 if there are six, etc.)
zerothe logMAR value chosen to represent "zero" visual acuity when creating the combined logMAR values for both eyes or taking the arithmetic mean.