reshape.wide {BatchGetSymbols}R Documentation

Transforms a dataframe in the long format to a list of dataframes in the wide format

Description

Transforms a dataframe in the long format to a list of dataframes in the wide format

Usage

reshape.wide(df.tickers)

Arguments

df.tickers

Dataframe in the long format

Value

A list with dataframes in the wide format

Examples


my.f <- system.file( 'extdata/ExampleData.rds', package = 'BatchGetSymbols' )
df.tickers <- readRDS(my.f)
l.wide <- reshape.wide(df.tickers)
l.wide

[Package BatchGetSymbols version 2.6.1 Index]