export_scenario_to_csv: Export contents of scenario to csv

View source: R/export_scenario_to_csv.R

export_scenario_to_csvR Documentation

Export contents of scenario to csv

Description

Export contents of scenario to csv. Each data frame in the list is saved as a separate .csv

Usage

export_scenario_to_csv(scenario, saveLocation, saveName = NULL)

Arguments

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

Examples

## 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)

battleVerse/scenarioMaker documentation built on July 16, 2024, 4:21 a.m.