We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a645a commit f443100Copy full SHA for f443100
src/main/doe/Morris.R
@@ -22,9 +22,8 @@ Morris <- function(options) {
22
getInitialDesign <- function(algorithm, input, output) {
23
algorithm$input <- input
24
algorithm$output <- output
25
- d = length(input)
26
set.seed(algorithm$seed)
27
- algorithm$m <- morris(model = NULL, factors = d, r = algorithm$r,
+ algorithm$m <- morris(model = NULL, factors = names(input), r = algorithm$r,
28
design = list(type = "oat", levels = algorithm$levels))
29
names(algorithm$m$X) <- names(input)
30
return(from01(algorithm$m$X,input))
0 commit comments