powered by
Function to summarize the Jaya function
# S3 method for jaya summary(object, ...)
as an output object from 'jaya' function
Additional parameters given to the function
returns the summary of output object from 'jaya' function
# NOT RUN { # Test Function to minimize square <- function(x){return((x[1]^2)+(x[2]^2))} a <- jaya(fun = square, lower = c(-100,-100), upper = c(100,100), maxiter = 10, n_var = 2) summary(a) # }
Run the code above in your browser using DataLab