gdxreshape.Rd`gdxreshape()` formats the data to be saved in GDX into long format. It is imported from the gdxrrw package with a few improvements for performance and usability, since there is a risk of it being removed from the gdxrrw package in the future. We would like to thank the R GAMS team for this useful function.
gdxreshape(
inDF,
symDim,
symName = NULL,
tName = "time",
gdxName = NULL,
setsToo = TRUE,
order = NULL,
setNames = NULL
)wide dataframe.
Dimensions of symbol
Symbol name
"Time"
Name of gdx file
if sets too
order of data
name of sets
A tibble `tbl_df`.
wgdxWrite R data to GDX
wgdx.lstWrite multiple symbols to GDX
wgdx.reshapeWrite multiple symbols to GDX
pivot_longerMake dataframes longer