| plotvf | R Documentation |
plotvf plots a figure of a visual field matrix with sensitivity threshold values
plotvf(xs, vf, title = "")
xs |
A vector of horizontal coordinates. The length of it must be either 10 for a monocular or 25 for a binocular visual field plot. |
vf |
A matrix of either a left/right monocular visual field or a binocular visual field sensitivity values |
title |
A string for the name of the plot. |
A plot of a monocular or binocular visual field.
the length of xs and the number of columns of the vf must be the same and with a value of either 10 or 20.
m_xs <- seq(-27, 27, length.out = 10) 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) plotvf(m_xs, rghtvf, title='right visual field')