Open rdstern opened 1 year ago
@rdstern the extra first line is due to how the dialog was originally implemented. It doesn't have any output effect but I have now fixed that in PR #8008 .
@rdstern @lilyclements I suspect the blanks is probably due to the summary R function when it comes to dealing with missing values. I checked the "Omit Missing Values" option and the blanks were replaced with values. Version 0.7.6 also behaves the same. @rdstern is there a version that didn't have this issue?
@lilyclements do you agree with my opinion, would you like to check on the R function or should I? You seem to have worked on the function in PR #7925.
@rdstern what is the intention of the Store output checkbox option?
Dialog
Output
@Patowhiz that is a good point, and is what is happening here. Thanks for working that out!
@rdstern are you happy for this dialog to remain like this? Perhaps I could add in "NA"'s more explicitly to make it clearer
@Patowhiz and maybe @lilyclements this is a dialogue that was in html, so I think perhaps some part of it may have been missed in the recent adaptations. It now doesn't seem to give summary statistics - though it does give counts.
Here for the Dodoma data, getting summaries by month for tmax and tmin:
Gives:
The R code currently generated is as follows:
I don't know why the main line is given twice. But I guess that does no harm? I get the same result when I comment out one occurrence of it.