refplot {unrepx} | R Documentation |
Dot plot of effects with a reference distribution
Description
The refplot
function constructs a dot plot of effects along with a rweference distribution (either normal or simulated) to help in visually identifying active effects in a screening experiment.
Usage
refplot(effects, ref = TRUE, half = TRUE, method = "Zahn",
col = half, guides = FALSE, ID = FALSE, pch = 16, xlab, xlim, ...)
Arguments
effects |
Numeric vector of effects or contrasts to be explored. |
ref |
Logical or character value. If A character value matching |
half |
Logical value. If |
method |
Character value. When |
col |
Scalar or vector of colors; or a logical value. If logical, a value of |
guides |
Logical value. If |
ID |
Logical value. If logical and |
pch , xlab , xlim , ... |
Additional graphical parameters (see |
Details
If the returned environment is saved, then dot.id
or dot.mod
may be used later as for dot.plot
results.
Value
An environment that can be modified using dot.id
or dot.mod
.
Author(s)
Russell V. Lenth
See Also
Other ways of assessing active effects include a half-normal plot (hnplot
), a Pareto plot of effects (see parplot
), and a tabular style of presenting effects and P
values (see eff.test
). For more information on PSEs and methods, see PSE
and ref.dist
.
Examples
require(unrepx)
refplot(pdEff, ID = ME(pdEff))
## Not run:
# Batman lives!
refplot(pdEff, ref = "sim", method = "Lenth", half = FALSE)
## End(Not run)