
ovariable
along given indices. Returns sought rows and drops the rest.Optimize(...)
Minimize(data, indices)
ovariable
or data.frame
of suitable format (must contain a "Result" column)character
vector of index names meant to be retained (tapply
INDEX
)data.frame
which is a subset of the original data.frame
or ovariable@output
.tapply
and which.min
.a <- Ovariable(output = data.frame(A = letters[c(1,1,2,2)], B = c(1,2,1,2), Result = 1:4))
Minimize(a, "B")
Minimize(a, "A")
Run the code above in your browser using DataLab