optim_rand | R Documentation |
Optimize a given function with random search method with a given search range.
optim_rand(f,init1,init2 = NULL,
n = 100)
f |
Function to be optimized |
init1 |
1st initial value (lower bound) of the optimization range |
init2 |
2nd initial value (lower bound) of the optimization range |
n |
limit of number of random numbers generated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.