# NOT RUN {
simplex <- labsimplex(n = 3)
simplex <- labsimplex(n = 3, centroid = c(350, 7, 0.4),
stepsize = c(35, 2, 0.3),
var.name = c('temperature', 'pH', 'concentration'))
simplex <- labsimplex(n = 3, usrdef = rbind(c(390, 8, 0.2), c(330, 8, 0.2),
c(330, 6, 0.6), c(330, 6, 0.1)))
# }
# NOT RUN {
## User defined coordinates may define a degenerated simplex:
simplex <- labsimplex(n = 3,
usrdef = rbind(c(390, 8, 0.3), c(340, 8, 0.3),
c(355, 8, 0.3), c(340, 5, 0.1)))
# }
Run the code above in your browser using DataLab