Description Usage Arguments Value See Also

Creates a fitness function that calculates an error measure with
respect to an arbitrary n-ary reference function based sample points
generated by a given `designFunction`

.
When an `indsizelimit`

is given, individuals exceeding this
limit will receive a fitness of `Inf`

.

1 2 | ```
makeNaryFunctionFitnessFunction(func, dim, designFunction = gridDesign,
errorMeasure = rmse, indsizelimit = NA, ...)
``` |

`func` |
The reference function. Its single argument must be numeric
vector of length |

`dim` |
The dimension of the reference function. |

`designFunction` |
A function to generate sample points. Its first
argument must be |

`errorMeasure` |
A function to use as an error measure, defaults to RMSE. |

`indsizelimit` |
Individuals exceeding this size limit will get
a fitness of |

`...` |
Additional arguments to the |

A fitness function based on the reference function `func`

.

`latinHypercubeDesign`

, `gridDesign`

,

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.