View source: R/export_scenario_to_csv.R
export_scenario_to_csv | R Documentation |
Export contents of scenario to csv. Each data frame in the list is saved as a separate .csv
export_scenario_to_csv(scenario, saveLocation, saveName = NULL)
scenario |
will save the following dataframes to disk (ignoring those not present in the scenario): targetTruth, ownShipTruth, sensorData, engagementData, platformInfo, targetOwnShipDistance |
saveLocation |
string - path to save file |
saveName |
string (default=NULL) if no argument passed, will use the scenario's scenarioName property |
## Not run:
To use this function, simply enter a valid path for 'saveLocation'
export_scenario_to_csv(example1_scenario,
saveLocation="C:/Documents/analysis/",
saveName="testPeriod1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.