Description Usage Arguments Details Value Author(s) See Also Examples
Produces a consistency plot for typical metrology comparison data.
1 2 3 4 5 6 |
x |
Vector of reported values |
u |
Vector of length |
labels |
Vector of of length |
p.adjust.method |
p-value adjustment method; passed to |
ordered |
If |
breaks |
Vector of breaks; passed to |
col |
Vector of colours of length |
log.p |
If |
main, subtitle |
Main and subtitle for plot. |
key |
If |
key.width, key.height |
Width and height of key, if plotted. See details for specification. |
... |
Graphical parameters passed to |
Calculates the (square, symmetric matrix of) optionally adjusted p-values for a
two-tailed z-test of |x[i]-x[j]|/sqrt(u[i]^2+u[j]^2)
against zero
and plots the p-values as an image.
p.adjust
is called prior to plotting to correct for multiple comparisons.
To suppress adjustment, set p.adjust.method="none"
.
key.height is a fraction of the figure region height. key.width is the width of the key area in cm, unless under 1, in which case it is interpreted as a fraction of the plot region width.
If log.p
is TRUE
and subtitle
NULL
,
a subtitle indicating the use of log.p is added to the plot,
Invisibly returns a matrix of pairwise test p-values or, if log.p==TRUE
,
matrix of -log_10(p)
.
S Ellison s.ellison@lgc.co.uk
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.