Description Usage Arguments Value Examples
View source: R/test_func_apply.R
This makes it easier to create many functions that follow the same template. R CMD check doesn't like the ... if this command is used to create functions in the package, so it is not currently used.
1 2 | standard_test_func(func, scale_it_ = F, scale_low_ = NULL,
scale_high_ = NULL, noise_ = 0, ...)
|
func |
A function that takes a vector representing a single point. |
scale_it_ |
Should the function scale the inputs from [0, 1]^D to [scale_low_, scale_high_] by default? This can be overridden when actually giving the output function points to evaluate. |
scale_low_ |
What is the default lower bound of the data? |
scale_high_ |
What is the default upper bound of the data? |
noise_ |
Should noise be added to the function by default? |
... |
Parameters passed to func when evaluating points. |
A test function created using the standard_test_func template.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.