Skip to content

male (constant)

Syntax

male

Description

A constant representing the sex of male agents. The associated numeric value is 1.

This must be lower case, the capitalized Male is not recognized.

Examples

Assuming sex is a numeric variable, male agents can be sorted into the state Select with the transition rule

next_if(Select, sex == male)

See Also