Wrapper that allows generating a special type vectors

special_vector(size, type, configuration)

Arguments

size

integer, vector length

type

type of vector, one of: "id", "distribution"

configuration

list of arguments required by vector function

Examples

special_vector(10, "id", list(start = 3))
#>  [1]  3  4  5  6  7  8  9 10 11 12