write2.gdx | R Documentation |
Write a list of parameters or sets in a gdx, using gdxrrw (faster than write.gdx, but less options)
write2.gdx(file, params = list(), sets = list())
file |
the filename of the gdx to save |
params |
named list of parameters |
sets |
named list of sets |
Laurent Drouet
## Not run:
param1 = data.frame(x=c('1','2'),value=1:10)
param2 = data.frame(a=c('london','paris','tahiti'),value=c(50,0.2,1e-2))
write.gdx("test.gdx",list(param1=param1,param2=param2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.