Supplement 2: R codes of the sex-reversal models from Climate-driven shifts in adult sex ratios via sex reversals: the type of sex determination matters

Supplement 2 for “Climate-driven shifts in adult sex ratios via sex reversals: the type of sex determination matters”: Annotated R script for the sex-reversal models.