Closed sempwn closed 4 years ago
Hello, @sempwn, thank you. I've just checked this. There are checks for all the time to event functions; the issue was probably due to the fact that the criteria was not strict enough. As you rightly identified, fitdist
fails for small samples.
This has now been modified: the gamma estimates will only be calculated for a variable if the number of its non-NA values is greater than 10% of the original set. Could you please check that this is now working for your site data?
Hi @Emmanuelle7 . That's working for me now, thanks for so quickly checking and resolving the issue.
I receive the following error when running
generate.report
after generatingimported.data
fromimport.and.process.data
After a bit of investigating it seems this is happening on line 2632 of plot_function.R and is most likely due to the NIMV.start.date having many missing values. See code snippet below:
Elsewhere in the report generation there is a step that checks for missingness of the variable before running
fitdist
but this appears to be missing from theadm.to.niv
function.