Description Usage Arguments Examples
Create a sdsim scenario excel template to be filled by the user and loaded
with the sdLoadScenario
function. The empty sheets that will
not be used should be deleted before loading the scenario to prevent
warnings.
1 | sdExcelTemplate(file = "Scenario.xlsx", colWidth = c(10, 10, 10, 30, 10))
|
file |
A string with the name of the excel file. The file extension must be included in the file name, e.g. '.xlsx'. |
colWidth |
The Excel columns width. |
1 2 3 4 5 6 | # create a scenario EXCEL template
sdExcelTemplate("test.xlsx")
# edit the created EXCEL file and load it
scenTest <- sdLoadScenario("test.xlsx")
print(scenTest)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.