This function will write a vector of data points to the working directory n times, with a given prefix and the number of the replicate as the suffix. Ideally, the names of the vector are the tip labels of the tree!
1 | repData(dat, n, prefix)
|
dat |
The data file to be replicated. |
n |
The number of times to write the file to the disk, or a vector of suffixes that the data is replicated using. |
prefix |
The prefix for each of the copies of the data file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.