Returns the gender (sex) of the current agent.
A factor that is tied to each agent’s sex as defined in the synthetic population. The default sexes are
female encoded as
male encoded as
Female agents can be sorted into the state
Select with the transition rule
if (sex == female) then next(Select)
or equivalently with
if (sex == 0) then next(Select)
Male cause an error.