progression.plr.nouri.2012 {vfprogression}R Documentation

Nouri-Mahdavi 2012 VF progression

Description

progression.plr.nouri.2012 returns the progression criterion, using Pointwise Linear Regression (PLR) progression detection method according to Nouri-Mahdavi et al. (2012).

Usage

progression.plr.nouri.2012(measmatrix)

Arguments

measmatrix

is a data frame. MUST contain the following columns: 52/54 TD (column names MUST be 'td1' ~ 'td52' or 'td1' ~ 'td54'), 'yearsfollowed', and 'eyeid'. Rows represent the single measurements. The minimum measurements (rows) is 3.

Value

"stable", "worsening", or "improving" of measurements in measmatrix

See Also

https://www.ncbi.nlm.nih.gov/pubmed/22427560/

Examples

data(vf.plr.nouri.2012)
colnames(vf.plr.nouri.2012)
progression.plr.nouri.2012(vf.plr.nouri.2012)
progression.plr.nouri.2012(vf.plr.nouri.2012[vf.plr.nouri.2012$eyeid == 1,])
progression.plr.nouri.2012(vf.plr.nouri.2012[vf.plr.nouri.2012$eyeid == 2,])

[Package vfprogression version 0.7.1 Index]