Description Usage Arguments Value Warning Examples
binovfcal
calculates an array of integrated visual fields given required parameters.
1 2 3 |
leftvf |
A matrix of left monocular visual field |
rghtvf |
A matrix of right monocular visual field |
lefttheta |
A number angle of convergence for the left eye in radian |
righttheta |
A number angle of convergence for the right eye in radian |
distplanes |
A vector of object distances in mm. |
pd |
Pupil distance in mm |
gender |
A string of either "male" or "female" |
m_xs |
Horizontal coordinates for monocular visual field for the 24-2 pattern |
m_ys |
Vertical coordinates for monocular visual field for the 24-2 pattern |
c_xs |
Horizontal coordinates for integrated visual field (from -57 to 57 degree with 6 degree spacing) |
db_cutoff |
cutoff value default to 25 dB above which the simulated threshold value is returned (NA otherwise) when there threshold value is present only for one eye |
An array of binocular visual fields for the distances specified by distplanes vector.
the value of either pd or gender has to be provided the unit of pd and fixdist must be the same, default to mm.
1 2 3 4 5 6 7 8 9 10 11 12 | rghtvf <- matrix(c(
NA, NA, NA, 30, 30, 30, 30, NA, NA, NA,
NA, NA, 30, 30, 30, 30, 30, 30, NA, NA,
NA, 30, 30, 30, 30, 30, 30, 30, 30, NA,
30, 30, 30, 30, 30, 30, 30, 30, 30, NA,
30, 30, 30, 30, 30, 30, 30, 0, 30, NA,
NA, 30, 30, 30, 30, 30, 30, 30, 30, NA,
NA, NA, 30, 30, 30, 30, 30, 30, NA, NA,
NA, NA, NA, 30, 30, 30, 30, NA, NA, NA
), ncol=10, byrow=TRUE)
leftvf <- rghtvf[, 10:1]
binovfcal(leftvf, rghtvf, -.045, .045, c(1000, 1010), pd=62)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.