python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to use list values inside lists in Netlogo
When I setup my model, I also upload a csv file containing multiples columns, after some research, I found that it is read as a list of lists (each line being a list).
set yield-data sentence yield-da...

Sarahdata
Votes: 0
Answers: 1
How to select patches based on the same variable value in Netlogo
When one variable of a patch reaches a certain value (e.g. age = 75 ), I redirect the patch to another procedure (called retirement) where I want to select all the patches that share the same value o...

Sarahdata
Votes: 0
Answers: 1
setting incubation period for mosquitoes and human
I have infection model which is working fine. now I want to add incubation period for infection to be realized either in mosquito or human. incubation period is 10 days,
when infected mosquito interac...

Celina
Votes: 0
Answers: 1
I need to get the sum of each element from a list
I have a list like that:
[[0 1 2] [4 6 9] ... [-1 0 3]]
and I need to get [3 19 ... 2], I mean sum of first element, second and .... n - element.
I´m gonna really appreciate your help.
Update: I tri...

Adrian Lara
Votes: 0
Answers: 2