Open NightlordTW opened 1 year ago
Thanks for bringing this up. Can you be more specific about what the issue is? If we don't deal with continuous outcomes, we do not need to worry about this init.model
argument. It does not show up in count or survival cv(). I was able to run cvmean() with init.model = NULL
.
We will revisit this issue as soon as the analyses for continuous endpoints are fully implemented
For continuous outcomes, the user need to specify
init.model
. Previously, this variable was initialized to a non-specified global variable as follows:init.model = init.model
. Sinceinit.model
is not defined anywhere in precmed, I have set it equal to NULL by default. However, this issue still needs to be fixed.