design_connectivity {mppR} | R Documentation |
Connected parts of a MPP design
Description
Determine the connected parts of a MPP design using the method of Weeks and Williams (1964) and the package igraph.
Usage
design_connectivity(par_per_cross, plot_des = TRUE, output_loc = NULL)
Arguments
par_per_cross |
Three columns |
plot_des |
|
output_loc |
Path where the plot of the design will be saved if the argument is given. Default = NULL. |
Value
Return a list with each element representing one connected part of the design and the list of parents contained in this part.
If plot_des = TRUE
and output_loc
has been specified. A plot
of the graph (con_plot.pdf) will be saved at the specified location.
Author(s)
Vincent Garin
References
Weeks, D. L., & Williams, D. R. (1964). A note on the determination of connectedness in an N-way cross classification. Technometrics, 6(3), 319-324.
Examples
data(mppData)
par_per_cross <- mppData$par.per.cross
con.part <- design_connectivity(par_per_cross)