Description Usage Arguments Value
View source: R/vector_template.R
Create a template for creation of a vector with custom distribution
1 | vector_template(metadata, generator, print_method = NULL)
|
metadata |
data needed by the generator function to create a synthetic vector |
generator |
function with signature f(metadata, length) that generates a vector from the metadata and the size |
print_method |
function with signature f(metadata) that prints the vector template description. Will be used when print() is called. |
an object of class 'columntemplate' that can be used with generate() to generate vectors according to the characteristics stored in metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.