tol.contour | R Documentation |
Draw contours based on a p-value matrix.
tol.contour(pim, test = c("upper", "lower", "two-sided"), ...)
pim |
A pixel |
test |
An optional character string giving the type of manipulation to
be applied to the p-values, corresponding to a test for significantly
elevated risk ( |
... |
Additional arguments to be passed to |
Note that no checks on the numeric content of pim
are made. The
function assumes the pixel im
age of p-values
in pim
is supplied with respect to an upper-tailed test for elevated
risk (this is exactly the way the p-value surface is returned when
tolerance
is used). This is important if one makes subsequent
use of test
, which manipulates the p-values to draw at desired
significance levels
.
Opens a new graphics device and displays a contour
plot if add = FALSE
, otherwise adds the contours to the plot in the
existing active graphics device.
T. M. Davies
# See ?tolerance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.