Closed chr1swallace closed 5 years ago
Yes - you are correct, thanks for spotting this! Doesn't seem to change the correction much but I am re-running simulations to check.
Ok. Is this code used anywhere else in your package? Seems a standard bit of code, should be a function in its own right, that is then called by different functions
http://chr1swallace.github.io
On 25 Jul 2019, 09:20, at 09:20, Anna Hutchinson notifications@github.com wrote:
Yes - you are correct, thanks for spotting this! Doesn't seem to change the correction much but I am re-running simulations to check.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/annahutch/corrcoverage/issues/13#issuecomment-514947205
Yep sounds good, it is used throughout so will amend now
Great to organise code like that.
But I see it won't actually make a difference because this line normalises
pp.tmp/rowSums(pp.tmp)
But if you get the denom right you won't need to normalise
http://chr1swallace.github.io
On 25 Jul 2019, 09:24, at 09:24, Anna Hutchinson notifications@github.com wrote:
Yep sounds good, it is used throughout so will amend now
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/annahutch/corrcoverage/issues/13#issuecomment-514948405
Ah yes, so I no longer need the final pp.tmp/rowSums(pp.tmp) line
This file contains the lines
In this, I think zstar, and therefore bf are matrices. But denom is a scalar. I think you need