View source: R/generate_test_data.R
| generate_test_data | R Documentation |
Creates a small deterministic data frame with string, numeric, and integer columns. The numeric and integer columns combine seeded random noise with a mild linear trend so downstream smoke tests exercise both repetition and variation.
generate_test_data(nrows, seed = 1L)
nrows |
Number of rows to generate. |
seed |
Integer seed used to make the output reproducible. |
A data frame with columns string, numeric, and int.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.