Learn R Programming

Jaya (version 0.1.9)

summary.jaya: Function to summarize the Jaya function

Description

Function to summarize the Jaya function

Usage

# S3 method for jaya
summary(object, ...)

Arguments

object

as an output object from 'jaya' function

Additional parameters given to the function

Value

returns the summary of output object from 'jaya' function

Examples

Run this code
# 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