Returns the name of the newest simulation output of a particular type within the specified directory. The date and time are extracted from the file name.
get.latest.sim(type = "dyn", dir)character string with the name of the most recent simulation output file.
Type of simulation output to check; can be one of: "dyn" (for looking in "Statistics.XX.csv" files), "blockdyn" (for looking in "PorpoisePerBlock.XX.csv" files) "track" (for looking in "RandomPorpoise.XX.csv" files).
Directory to look for simulation output in (character string)
read.DeponsBlockdyn for example.