flip_xtslist: Flips the elements of a list of xts with the elements of the...

Description Usage Details

Description

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.

Usage

1
flip_xtslist(xtslist)

Details

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.


jeanmarcgp/xtsanalytics documentation built on May 19, 2019, 12:38 a.m.