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:
Remove references to toa in the code and replace it with toa_mat() or something similar.
The toa_mat() or something similar function should compute times of adoption based on the adopt matrix.
The time of adoption vector
toa
currently allows information about a single adoption to be registered. We need to refactor this component sotoa
is computed as a function of the adoption/cumadop matrices (arrays). You need to:toa
in the code and replace it withtoa_mat()
or something similar.toa_mat()
or something similar function should compute times of adoption based on theadopt
matrix.Some functions where
$toa
is present:diffnet.attrs
toa_diff
diffnet.toa
diffnet.toa<-
diffnet.subset.slices
summary.diffnet
Look for calls to
$toa
ordiffnet.toa(
.