Learn R Programming

visualFields (version 0.6.2)

ghranktd: general height estimated from rank TD curve

Description

estimates the general height by comparison of the rank TD curve of the subject compared with mean normal rank TD curve

Usage

ghranktd( td, minPts = 2, strategy = "isospaced", withinNormal = 95, pCentral = 1,
          link = make.link( "logit" ), scaleFactor = 52.4 )

Arguments

td

total-deviation values

minPts

minimum number of TD values within normal limits necessary to estimate the general height. Default is 2. If there are less than 2 TD values within normal limits, then NA is returned

strategy

strategy for the comparison of the reconstructed within normal part of the rank TD curve with the mean normal rank TD curve. There are two posibilities at the moment isospaced and parallel. In the option isospaced, the TD values identified as within-normal limits are equally spaced and compared with the corresponding rank location of the mean normal TD curve. In the slightly more computationally complicated option parallel, the rank positions are obtained so that the all differences between subject's TD values and mean normal TD values in the corresponding rank position are equal. In both strategies, the mean rank position of the reconstructed rank TD curve corresponds with the mean rank position of the mean normal TD rank curve (for the pattern of locations 24-2 that is location 26.5 ). This way uniqueness is ensured on both strategies. Default is parallel. For more details see [1]

withinNormal

value or label used to identify the locations that are within normal limits. Default is 95

pCentral

proportion of the TD rank curve to be used for the estimation of the general height. Default is 1

link

link function to use with glm fit. See family. Defaulut is logit

scaleFactor

scale to use for ranks to make them be between 0 and 1. Default is 52.4

Value

returns the estimated general height for the test, or NA if the number of TD values within normal limits was less than numPts

References

[1] I. Marin-Franch, W. H. Swanson, and V. E. Malinovsky. A novel strategy for the estimation of the general height of the visual field in patients with glaucoma. Graefe's Archive Clinical Experimental Ophthalmology, 252(5):801-809, 2014.

See Also

pdval,ghpostd