Skip to content

Vignette: multi-dimensional contact matrix recipes #322

Description

@sbfnk-bot

Add a worked vignette showing the multi-grouping recipe end-to-end.

Suggested example: age × gender on POLYMOD (data already in the package), or replicate Manna et al.'s age × wealth recipe on simulated data.

Should include:

  • Assigning the grouping (`assign_age_groups()` + reliance on existing `part_`/`cnt_` columns)
  • Computing the multi-grouping matrix
  • Post-processing (`symmetrise`, `per_capita`)
  • Slicing and interpreting the resulting tensor

Tracked under #143.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions