plotTDvalues {vfprogression} | R Documentation |
Value plotting function for 24-2 or 30-2 visual field measurement:
Description
plotTDvalues
plots the following 24-2 or 30-2 visual field measurement: sensitivity, TD, and PD:
Usage
plotTDvalues(tds, cex.tds = 1, textcolor = function(x) "black",
show.lines = T, ...)
Arguments
tds |
a vector contains sensitivity/TD/PD measurement. For 24-2 VF |
cex.tds |
a numeric variable for label size (default: 1). |
textcolor |
a function defines the label color. |
show.lines |
a logical variable indicates whether to show the horizontal and vertical lines. |
... |
other variables to be added. |
Value
value plot for sensitivity, TD and PD input.
Examples
data(vfseries)
tds = t(vfseries[1, grepl('^s[0-9]+', colnames(vfseries))])
plotTDvalues(tds)
title(main = "Sensitivity", line = 3)
tds = t(vfseries[1, grepl('^td[0-9]+', colnames(vfseries))])
plotTDvalues(tds)
title(main = "Total Dviation", line = 3)
tds = t(vfseries[1, grepl('^pd[0-9]+', colnames(vfseries))])
plotTDvalues(tds)
title(main = "Pattern Dviation", line = 3)
[Package vfprogression version 0.7.1 Index]