Description Usage Arguments Value Examples
Converts a dataframe from gitr_GetITRData to the wide format
1 | gitrd.convert.to.wide(data.in, data.in.cols = "original")
|
data.in |
Data frame with financial information |
data.in.cols |
Which data to go in rows values ('original' or 'inflation adjusted') |
A dataframe in the wide format
1 2 3 4 5 6 | # get example data from RData file
my.f <- system.file('extdata/ExampleReport_Petrobras.RData', package = 'GetITRData')
load(my.f)
df.assets <- df.reports$fr.assets[[1]]
df.assets.wide <- gitrd.convert.to.wide(df.assets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.