Description Usage Arguments Value Examples
This function returns a set of returns that follow the distribution passed to makeNoise by the user. It is a convenience function when you want a set of random returns that follow a certain distribution. The function is a wrapper for rnorm etc. that handles all the time series wrangling.
1 2 |
num_assets |
the number of columns of length |
num_returns |
the number of rows you would like returned. |
dates |
the dates you would like to use for the returns. If NULL, the
function will use |
dist |
one of "rnorm", "runif", or "dt". |
... |
other pass-through parameters to the random number generators. |
a set of returns in xts format following the desired distribution.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.