Description Usage Arguments Details Value See Also Examples
Function to generate data.
1 2 3 4 5 6 7 | generateData(function_f_1,
argumentsTypeRestrictions_l = list(),
replacementContext_l = setGenerationContext(),
ellipsisReplacementContext_l = setGenerationContext(),
defaultArgumentsContext_l = setDefaultArgumentsGenerationContext(),
functionName_s_1 = deparse(substitute(function_f_1))
)
|
function_f_1 |
a single R function, offensive programming ready, with using semantic argument names |
argumentsTypeRestrictions_l |
a named |
replacementContext_l |
a generation context, as defined by
|
ellipsisReplacementContext_l |
a generation context, as defined by
|
defaultArgumentsContext_l |
a generation context, as defined by
|
functionName_s_1 |
A character vector of length 1, holding the function name. This is particularly useful, in scripts. |
Generate a driven aleatory set of data to be used as argument in a call to function
fun_f_1
. Generation is driven by the argumentsTypeRestrictions_l
argument.
A list
with names generation
, data
, context
, and n
,
representing respectively, argument name generation, data, data type generation context, and
the number of data generated at the first level.
Generated data are ready for use and accessible using the data
name of
the list
.
Refer to retrieveDataFactory
and to testFunction
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.