Open mwalte10 opened 1 year ago
Whether cotrim was input as a percentage or a number should be added here.
@jeffeaton
Whether cotrim was input as a percentage or a number should be added here.
@jeffeaton
Thanks very much. This function returns a list of two tables, where the first table val$childart
is the values entered for cotrim and child ART by age, and the second table val$childart_ispercent
has the same dimension and reflects whether each number is a number or percent.
I think that the cotrim as a percentage is the first row of the output of the second table. However, there was an error in the code and it was mostly returning NA
values. That is fixed in PR #54.
Can you please merge that and check if the percentage flag makes sense now, or still looks funny?
@mwalte10 -- what is status on this issue now?
ART distribution: https://github.com/mrc-ide/leapfrog/blob/clean/R/spectrum-inputs.R#L239-L248 Rates of MTCT: https://github.com/mrc-ide/leapfrog/blob/clean/R/spectrum-inputs.R#L275-L302 Mortality RR by age: https://github.com/mrc-ide/leapfrog/blob/clean/R/spectrum-inputs.R#L275-L302 ART distribution by age: https://github.com/mrc-ide/leapfrog/blob/clean/R/spectrum-inputs.R#L313-L321 Transition between cd4 categories at 14 to 15: https://github.com/mrc-ide/leapfrog/blob/clean/R/spectrum-inputs.R#L313-L321