Closed arnoudplantinga closed 6 years ago
I've been playing with that idea as well. It's a bit weird, but it might be worth it.
I've already implemented a version of this using options(). If you set 'tidystats_list' in options()
to the name of your results list, then you do not need to supply it to the report()
function anymore.
For example: report("M1_1")
results in: t(199) = 24.22, p < .001
I did have to move the results argument in report()
to the back of all the arguments, so if you want to explicitly set it, it will be last in line (which is not a big deal I think).
Regarding that latter issue, it does require that you explicitly mention the argument: results = results
; which is a bit unfortunate.
Added this a while ago and I still like it, so closing it!
Would it be weird to have a default for the results list in the
report
function? It's annoying to start withreport(results, ...)
everytime I want to report something.