Dear all,
I am sill learing in Rstudio, but i keep receiving an error, in which i do not know how to fix.
Hopefully you can help me.
This is my whole R-code
install.packages("labsimplex")
install.packages("FrF2-package")
install.packages("Rtools")
install.packages("optimsimplex")
library(labsimplex)
coords <- rbind(c(140,30), c(162, 30), c(151, 33.46))
Simplexmanual <- labsimplex(n=2, usrdef = coords, var.name = c("Temperature", "Ramp"))
print(Simplexmanual, conventions = FALSE)
plot(Simplexmanual)
generateVertex(simplex = Simplexmanual, qflv = c(0.50, 0.95, 0.60), overwrite = TRUE, crit = "min")
print(Simplexmanual, conventions = FALSE)
plot(Simplexmanual)
generateVertex(simplex = Simplexmanual, qflv = c(0.50, 0.95, 0.60, 0.30), overwrite = TRUE, crit = "min")
And when i will generate the next vertex (last step) i keep receiving the following error:
Error in AssignQF(simplex = simplex, qflv = as.numeric(qflv)) :
The amount of vertices can not be smaller than the size of response vector.
Thank you in advance!
Kind regards,
Joey van Looij
Student of University of applied sciences Leiden