vector_template.Rd
Create a template for creation of a vector with custom distribution
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