Convert a SocMo input workbook to a RothC .dat file (legacy, vers 0)
f.rothc.xlsx.2.dat.RdReads the Fixed/Simul sheets of a SocMo input workbook and writes
them out in the native RothC .dat format via
f.rothc.dataframe.2.dat(). Superseded for new work by
f.rothc.xlsx.2.dataframe() (vers = 2, used by run.socmo()), kept
for older-style single-sheet-pair workbooks.
Usage
f.rothc.xlsx.2.dat(
input.xlsx.file = NULL,
output.dat.file = "./data_out/RothC_input.dat",
vers = 0,
n.year.max = 20
)