Skip to content

How can I set two factors for a cell in grid environment such as land use type, DEM? #10

Answered by jofmi
QingshengYang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @QingshengYang, since AgentPy v0.1.0, the Grid class has a method Grid.add_field() that can be used for cell attributes. Find more about it here: https://agentpy.readthedocs.io/en/latest/reference_grid.html#agentpy.Grid.add_field

Replies: 3 comments 5 replies

This comment has been hidden.

@QingshengYang
Comment options

@jofmi
Comment options

@QingshengYang
Comment options

@jofmi
Comment options

@QingshengYang
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jofmi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants