editSequence: editSequence

Description Usage Arguments Value

View source: R/editSequence.R

Description

Change the arguments of an DART sequence XML file.

Usage

1
2
editSequence(simName, sequenceFileXML, propertyArgs, DARTprogDir,
  newSequenceFileXML)

Arguments

simName

Name of your simulation.

sequenceFileXML

Name of the xml file containing property(s) of which the arguments you would like to change.

propertyArgs

Required inputs into DART simulation. This should be a list with the propertyName as the name and a vector of values as the argument. (e.g: list("Maket.Scene.CellDimensions.x" = c(1, 2, 3, 4, 5, 6), "Maket.Scene.CellDimensions.z" = c(2, 4, 6)))

DARTprogDir

Path to the 'DART' directory e.g 'C:/User/<username>/DART'.

newSequenceFileXML

Name of the xml file with new propertyArgs defined. Default is to overwrite sequenceFileXML

Value

A XML file newSequenceFileXML with the desired arguments.


kitbenjamin/daRtInput documentation built on July 10, 2021, 1 p.m.