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

Description Usage Arguments Value Examples

Description

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

Usage

1
2
plotTdProbabilities(tdprob, cex = 2, rectangle.color = "black",
  rectangle.width = 0.16, margins = c(2, 1, 2, 2) + 0.1, ...)

Arguments

tdprob

a vector contains TD probs/PD probs measurement. For 24-2 VF tdprob should have 52 or 54 elements. For 30-2 VF, tdprob should have 74 or 76 elements.

cex

a numeric variable for label size (default: 2).

rectangle.color

a string variable defines label color (default: 'black').

rectangle.width

a numeric variable defines label width (default: '0.16').

margins

a vector define the plot margins (default: c(2, 1, 2, 2)+0.1).

...

other variables to be added.

Value

value plot for TD prob and PD prob input.

Examples

1
2
3
4
5
6
7
data(vfseries)
tdprob = t(vfseries[1, grepl('^tdp[0-9]+', colnames(vfseries))])
plotTdProbabilities(tdprob)
title(main = "Total Deviation Probability", line = 3)
tdprob = t(vfseries[1, grepl('^pdp[0-9]+', colnames(vfseries))])
plotTdProbabilities(tdprob)
title(main = "Pattern Deviation Probability", line = 3)

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