This function is used when a list of xts of similar structure is provided, but we want to flip its organization. For instance, if a list of xts contains 3 features for 5 assets and is organized as follows: A list of the 5 assets, and each element contains an xts of the 3 features for that asset.
1 | flip_xtslist(xtslist)
|
Invoking flip_xtslist will reorganize this list as follows: A list of the 3 features, and each feature will contain an xts of the 5 assets.
Note that the data is left untouched. Only its organization is affected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.