write csv file, e.g. simulation result table

write_csv(data, outdir, filename, dec)

Arguments

data

dataframe to be written

outdir

directory to save data

filename

filename to save data

dec

decimal separator