# Example usage of mixDesign
mdo <- mixDesign(3, 2, center = FALSE, axial = FALSE, randomize = FALSE, replicates = c(1, 1, 2, 3))
mdo$names(c("polyethylene", "polystyrene", "polypropylene"))
elongation <- c(11.0, 12.4, 15.0, 14.8, 16.1, 17.7,
16.4, 16.6, 8.8, 10.0, 10.0, 9.7,
11.8, 16.8, 16.0)
mdo$.response(elongation)
mdo$units()
mdo$summary()
Run the code above in your browser using DataLab