reshape.wide {BatchGetSymbols} | R Documentation |
Transforms a dataframe in the long format to a list of dataframes in the wide format
reshape.wide(df.tickers)
df.tickers |
Dataframe in the long format |
A list with dataframes in the wide format
my.f <- system.file( 'extdata/ExampleData.rds', package = 'BatchGetSymbols' )
df.tickers <- readRDS(my.f)
l.wide <- reshape.wide(df.tickers)
l.wide