Page 1 of 1

Generate LaTeX code of utility functions

Posted: 12 Jul 2023, 13:42
by svenne
Dear users,

we have written a function that generates LaTeX code of the utility functions given a model object input. Please fee free to test and report bugs etc . Find the function here: https://git.rwth-aachen.de/data-busines ... pression.R

Best
Sven

Re: Generate LaTeX code of utility functions

Posted: 17 Jul 2023, 09:48
by stephanehess
Sven

nice. Did you already test this also with more complex models, for example seeing what happens if utilities are written in a loop, or with mixing?

Stephane

Re: Generate LaTeX code of utility functions

Posted: 17 Jul 2023, 10:08
by svenne
No, we didn't. Moreover, the function does not work for aliases, like

composite_constant = asc + beta * age

v = composite_constant + alpha * cost

.

Something for the future ...