Skip to contents

Creates a new directory and writes all elements of an object of class MAR to that directory as csv files.

Usage

export.MAR(model.out,export=TRUE)

Arguments

model.out

Object of class MAR to be saved as csv files

export

Optionally allows the name of the new directory to be set equal to a character string. Otherwise, the name of the new directory will be "MAR.results Sys.time"

Details

All elements of the given MAR class object are converted to csv format and written to a new directory created within the current working directory. The name of the new directory can be chosen by setting the export argument equal to a character string. If the name of the new directory matches one already present in the working directory, the name will be amended with Sys.time() to avoid overwriting the previous folder

Author

LP Scheef

See also

Value

Writes to a directory.