Learn R Programming

visualFields (version 0.6.2)

hist_poplr: histogram for PoPLR analysis

Description

plots an histogram of Fisher S statistic combining all location p-values

Usage

hist_poplr( s, pval, sp, nLoc = 52, showLabels = TRUE,
                   txtfont = "sans", pointsize = 10,
                   plt = c( 0, 1.0, 0.3, 1 ), mpg = c( 1.85, 0.5, 0 ),
                   coltxt  = rgb( red = 1.0, green = 0.0, blue = 0.0 ),
                   colhist = rgb( red = 1.0, green = 0.0, blue = 0.0, alpha = 0.5 ))

Arguments

s

observed S-statistic for the pointwise significance tests that slopes are lower than (or greater than) a specified reference (typically zero)

pval

p-value for the pointwise significance tests that slopes are lower than (or greater than) a specified reference (typically zero)

sp

S-statistics calculated for the permutation of visual fields

nLoc

number of locations in the visual field to be analyzed. For 24-2, it is 52 (54 minus the locations in the blind spot). Default is 52.

showLabels

Whether or not to show histogram x-labels. Default is TRUE.

plt

Graphics parameter plt. Default is c( 0, 1.0, 0.3, 1 )

mpg

Graphics parameter mpg. Default is c( 1.85, 0.5, 0 )

txtfont

font of the text with visual-sensitivity values. Default is sans

pointsize

size of the text with visual-sensitivity values. Default is 10

colhist

Histogram color. Default is rgb( red = 1.0, green = 0.0, blue = 0.0 )

coltxt

Text color. Default is rgb( red = 1.0, green = 0.0, blue = 0.0 )

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, poplr_cstat, poplr_pstat, vflayout_poplr, vfplot_plr