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 character matrix specifying : 1) the cross indicators ; 2) the parents 1 identifiers of the crosses; 3) the parents 2 identifiers of the crosses.

plot_des

Logical value indicating if connected part of the design should be plotted. Default = TRUE.

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)


[Package mppR version 1.5.0 Index]