USCCANA / netdiffuseR

netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks
https://USCCANA.github.io/netdiffuseR
Other
86 stars 22 forks source link

Refactor toa #40

Open gvegayon opened 2 hours ago

gvegayon commented 2 hours ago

The time of adoption vector toa currently allows information about a single adoption to be registered. We need to refactor this component so toa is computed as a function of the adoption/cumadop matrices (arrays). You need to:

Some functions where $toa is present:

Look for calls to $toa or diffnet.toa(.

gvegayon commented 2 hours ago

Hey @twvalente! Here is the space to start discussing how to approach the problem.