sdExcelTemplate: Create a Scenario EXCEL Template

Description Usage Arguments Examples

Description

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.

Usage

1
sdExcelTemplate(file = "Scenario.xlsx", colWidth = c(10, 10, 10, 30, 10))

Arguments

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.

Examples

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)

EmbrapaInformaticaAgropecuaria/sdsim documentation built on May 10, 2019, 9:58 a.m.