Method to automatically convert an ‘xts’ object to an environment containing vectors representing each column of the original xts object. Each objects will be named according to the column name it is exracted by.
## S3 method for class 'xts' as.environment(x)
An experimental tool to convert
xts objects into environments
for simplifying use withing the standard R formula/data paradigm.
extracted by column from
x. Note that environments
do not preserve (or have knowledge) of column position, a.k.a order.
Jeffrey A. Ryan
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.