Skip to content

Refactor toa #40

@gvegayon

Description

@gvegayon

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.

Some functions where $toa is present:

  • diffnet.attrs
  • toa_diff
  • diffnet.toa
  • diffnet.toa<-
  • diffnet.subset.slices
  • summary.diffnet
  • ...

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions