The control class "DataControl"
is quite simple but general. For
user-defined data generation, it often suffices to implement a function and
use it as the distribution
slot in the "DataControl"
object.
See "'>DataControl"
for some requirements for such a
function.
However, if more specialized data generation models are required, the
framework can be extended by defining a control class "MyDataControl"
extending "'>VirtualDataControl"
and the corresponding
method generate(control)
with signature 'MyDataControl'
. If,
e.g., a specific distribution or mixture of distributions is frequently used
in simulation experiments, a distinct control class may be more convenient
for the user.