MPIDR / rsocsim

Socsim Microsimulation R Package
https://mpidr.github.io/rsocsim/
GNU General Public License v3.0
22 stars 8 forks source link

Use of hooks? #14

Open AaronGullickson opened 2 months ago

AaronGullickson commented 2 months ago

Hello, Berkeley Demography grad here and I am excited to see this project. I have been playing around with it a bit in the hopes of doing a project that looks at the ineritance of group ancestry in populations with varying degrees of exogamy. However, I am finding the set up for how births are assigned back to groups to be limiting. From Carl Mason's documentation of SOCSIM, it seems that users could adjust this with a hook of the enhance_birth function in the C code. Is it possible to use these kinds of hooks directly in rsocsim or would I need to fork and do it myself (or use vanilla SOCSIM).