Function to clean gmacs output files in a folder when a simulation-estimation approach has been considered.
clean_bat_Sim(path = ".", verbose = TRUE)
(character string)- names or file path representing root (default: ".")
(TRUE/FALSE) flag to print file names being deleted
nothing
Deletes files matching "admodel.\*"
,"\*.bar"
,"\*.eva"
,
"fmin.log"
,"\*.log"
,"\*.std"
,"gradient.\*"
,
"\*.r0\*"
,"\*.p0\*"
,"\*.b0\*"
,"derivatives"
,
"ders.dat"
,"mcout\*.\*"
,"checkfile.rep"
,"personal.rep"
,
"gmacs_in.\*"
,"gmacs_files_in.dat"
,"\*.exe"
,"\*.a"
,
"gmacs.par"
,"gmacs.dat"
,"gmacs.rep"
,"simdata.out"
.
[clean_files()]