plotTDvalues: Value plotting function for 24-2 or 30-2 visual field...

Description Usage Arguments Value Examples

Description

plotTDvalues plots the following 24-2 or 30-2 visual field measurement: sensitivity, TD, and PD:

Usage

1
2
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 tds should have 52 or 54 elements. For 30-2 VF, tds should have 74 or 76 elements.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

vfprogression documentation built on May 24, 2019, 5:10 p.m.