Learn R Programming

visualFields (version 0.5.4)

poplr_cstat: permutation of pointwise linear regression (PoPLR): calculation of the combined statistic

Description

For details see [1]

Usage

poplr_cstat( pval, typecomb = "fisher", truncVal = 1, minmax = TRUE,
             spatialwtd = NULL, distance = NULL, eccwtd = NULL )

Arguments

pval

p-values. Typically the ones obtained from poplr_pstat

typecomb

Combination type for p-values. Default is fisher, by now the only one implemented

truncVal

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

minmax

whether to use minimum p-value if empty combination statistic after truncation. Default is TRUE

spatialwtd

Weights for spatial autocorrelation. Typically the p-values, the slope, or the Spearman rank correlation obtained with poplr_pstat. If NULL, then the weights are all 1

distance

Pairwise distances between locations. Default is NULL

eccwtd

Eccentricity-related weights. Ask Neil. Default is NULL

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

poplr, hist_poplr, poplr_pstat, vflayout2_poplr, vfplot2_poplr

Examples

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

Run the code above in your browser using DataLab