EX:
I have a population people
with agent type Person
with a parameter wrist_size
.
In the agent type Person
I've created another population =watches
, agent type =Watch
.
Now I want to create a variable in the lower agent type that will be based on the parameter of the upper agent.
length
of the watch
should be equal to the wrist_size
of the person
What should code should I put to the variable?
Many thanks.