Description Usage Arguments Examples
Combine Two xts objects
1 | combine_xts(xts1, xts2, task = "multiply", fill = 0)
|
xts1 |
first xts object |
xts2 |
second xts object |
task |
arithmetical task for combination: add, multiply |
fill |
fill value for NAs, numeric or "min" |
add_corr |
add correction column to make rows sum up to 1 |
1 | combine_xts(weights1, weights2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.