Description Usage Arguments Details Value Note Author(s) See Also Examples
Display effects of an object of class facDesign in a line plot.
1 2 |
fdo |
needs to be an object of class |
fun |
function to use for the calculation of the interactions, as |
col |
vector of colors for the plot. Single colors can be given as character strings or numeric values. |
y |
if fdo is a vector, |
response |
response variable. If the response data frame of fdo consists of more then one responses, |
main |
an overall title for the plot: see |
... |
further graphical parameters: see |
interactionPlot() displays interactions for an object of class facDesign (i.e. 2^k full or 2^k-p fractional factorial design).
Parts of the original interactionPlot were integrated.
none
For an example in context which shows the usage of the function interactionPlot() to an object of class facDesign,
please read the vignette for the package qualityTools at http://www.r-qualitytools.org/html/Improve.html.
Thomas Roth thomas.roth@tu-berlin.de
factors
fracDesign
http://www.r-qualitytools.org/html/Improve.html
1 2 3 4 5 6 7 | #NA in response column and 2 replicates per factor combination
vp = fracDesign(k = 3, replicates = 2)
#generate some data
y = 4*vp[,1] -7*vp[,2] + 2*vp[,2]*vp[,1] + 0.2*vp[,3] + rnorm(16)
response(vp) = y
#show effects and interactions (nothing significant expected)
interactionPlot(vp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.