esqLABS / esqlabsR

Utility functions for modelling and simulation workflows within esqLABS organization
https://esqlabs.github.io/esqlabsR/
GNU General Public License v2.0
18 stars 2 forks source link

New function `writeParametersToXLS` #670

Closed PavelBal closed 4 months ago

PavelBal commented 5 months ago

{esqlabsR} has a function readParametersFromXLS() that reads parameter sets from an Excel file as supported by MoBi and returns a list containing vectors 'paths' with the full paths to the parameters, 'values' the values of the parameters, and 'units' with the units the values are in. This is the default "Parameter structure" used across the package.

There is currently no function that would do the opposite - write such a "parameter structure" into excel. The function exportParametersToXLS write Parameter objects, but not the list structure.

Proposed name for the new function writeParameterStructureToXLS? And then rename readParametersFromXLS to readParameterStructureFromXLS and deprecate readParametersFromXLS for a while?

@Felixmil @dlefaudeux @Laura-Villain what do you think? Need your input on usability.