Learn R Programming

visualFields (version 0.5.4)

poplr: permutation of Pointwise Linear Regression (PoPLR)

Description

performs the PoPLR analysis from a series of visual-field threshold sensitivities, or TD or PD values over time

Usage

poplr( vf, nperm = 5000, type = "slr", truncVal = 1,
       sl_test = NULL, typecomb = "fisher", details = FALSE )

Arguments

vf

vf object with threshold sensitivities, td, or pd values

nperm

number of permutations. Default is 5000

type

Type of regression statistic: slr for simple linear regression and rank for Spearman correlation coefficient. Default is slr

truncVal

p-value cut-off for truncation. Default is 1

sl_test

values for the 1-tailed hypothesis test for all locations. The reference value is not restricted, but it should be either zero (was there any progression?) or negative (was the progression greater than test value?). Default is 0

typecomb

Combination type for p-values. Default is fisher

details

Whether to return all details of the permuation analysis or just final results. Default is FALSE

References

[1] N. O'Leary, B. C. Chauhan, and P. H. Artes. Visual field progression in glaucoma: estimating the overall significance of deterioration with permutation analyses of pointwise linear regression (PoPLR). Investigative Ophthalmology and Visual Science, 53, 2012

See Also

hist_poplr, poplr_cstat, poplr_pstat, vflayout2_poplr, vfplot2_poplr

Examples

Run this code
# NOT RUN {
  res <- poplr( vf91016right )
# }

Run the code above in your browser using DataLab