panel.cor.pval {KOGMWU}R Documentation

accessory function for pairs() to display pvalue of the Pearson correlation

Description

works as upper.panel or lower.panel argument of pairs() (package graphics). Displays pvalues better than 0.1.

Usage

panel.cor.pval(x, y, digits = 2, cex.cor, p.cut=0.1)

Arguments

x

x element of the pairs() matrix

y

y element of the pairs() matrix

digits

number of non-zero digits to leave at the end

cex.cor

scaling factor for displayed text

p.cut

p-value cutoff

References

cannibalized from an example in ?pairs (package graphics)


[Package KOGMWU version 1.2 Index]