Learn R Programming

docopulae (version 0.2.1)

plot.desigh: Plot Design

Description

plot.desigh creates a one dimensional plot of sensitivities and weights. If the design space has additional dimensions, the design is projected on a specified margin.

Usage

## S3 method for class 'desigh':
plot(x, ..., margins = NULL, wDes = NULL, plus = T,
  circles = F, border = c(0.1, 0.1, 0, 0.1), sensArgs = list(),
  wArgs = list())

Arguments

x
some design.
...
other arguments passed to plot.
margins
a vector of indices, the dimensions to project on. Defaults to 1.
wDes
a design to take weights from. Defaults to x. See reduce.
plus
add plus symbols to the sensitivity.
circles
draw weights as circles instead of as bars.
border
(if drawing circles) c(bottom, left, top, right), the relative margins to add.
sensArgs
a list of arguments to use for drawing the sensitivities.
wArgs
a list of arguments to use for drawing the weights.

Details

If plus=T, wDes is specified and its sensitivities contain missing values, then the latter are linearly interpolated from the sensitivities in x.

If circles=T, the diameter of each circle is proportional to the corresponding weight.

References

uses add.alpha from http://www.magesblog.com/2013/04/how-to-change-alpha-value-of-colours-in.html

See Also

FedorovWynn, reduce

Examples

Run this code
## see examples for param

Run the code above in your browser using DataLab