For details see [1]
poplr_pstat( vf, porder, sltest = NULL )
visual-field data. It can be td or pd as well
order of permunations of visual-fields sensitivities. Each row contains a permutation of tests from vf
values for the 1-tailed hypothesis test for each location. The reference values are not restricted, but they should be either zero (was there any progression?) or negative (was the progression greater than test value?). Default is NULL
the function retunts two different structures depending on whehter the analysis is linear regression (type = "slr"
or Spearman rank correlation type = "rank"
). For slr
analysis, the sturcture consists of four matrices with data: pval
(p-value at each permutation and location of the significance of the 1-tailed hypothesis test specified by sl_test
for each location), se
(standard error), sl
(slope), and int
(intercept). For rank
analysis, the sturcture consists of two matrices: pval
(p-value at each permutation and location of the significance of the 1-tailed hypothesis test specified by sl_test
for each location) and rho
(the Spearman rank correlation)
[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
# NOT RUN {
res <- poplr( vf91016right )
# }
Run the code above in your browser using DataLab