Description Usage Arguments Examples
A simple function for creating a n by 2 matrix filled with random numbers.
The matrix is stored as a csv file. The function get_rand
returns
where the file is stored.
1 2 3 | create_rand(filename = NULL, n = 10000, seed = NULL)
get_rand()
|
filename |
A filename (should have a .csv extension) |
n |
Number of rows |
seed |
Optional seed |
1 2 3 4 | ## Not run:
create_rand("inst/raw-data/rand.csv", n=1e5, 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.