Generate values
1 2 3 4 5 | generateAttr(count, attr_type, attr_len = NULL, attr_num_dec = NULL,
eval_cond = NULL, value_type = c("Empty", "Fixed", "LOV", "Random",
"Expression"), fix_offset_value = NULL, lov = NULL,
rand_dist_name = NULL, rand_dist_mean = NULL, rand_dist_sd = NULL,
sign_type = NULL, expression = NULL, data = NULL, seed = NULL)
|
count |
number of values to generate |
attr_type |
data type of attribute (value). |
attr_len |
maximum length of attribute |
attr_num_dec |
maximum number of digits in decimal part of number |
eval_cond |
evaluation condition (R syntax, can refer to other columns
in |
value_type |
mode to generate value |
fix_offset_value |
fixed value to be returned / offset for random numbers or dates |
lov |
vector of exact values that can be used for value_type = "LOV" |
rand_dist_name |
distribution name for random number generation |
rand_dist_mean |
distribution mean for random number generation |
rand_dist_sd |
distribution standard deviation for random number generation |
sign_type |
type of sign for randomly generated number (see validateSign) |
expression |
evaluation expression (R syntax, can refer to other columns
in |
data |
already generated result in form of data frame, so it can be
referred by |
seed |
integer seed for random number generator; using NULL seed causes
non-reproducible random generation (see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.