PredictiveEcology / NetLogoR

A translation of NetLogo functions, dictionary, and framework for R. Intended to be used with a discrete event simulator, like SpaDES
http://NetLogoR.PredictiveEcology.org
38 stars 4 forks source link

NLwith(agents, var, val = NA) doesn't work #36

Closed SarahBauduin closed 3 years ago

SarahBauduin commented 5 years ago

We can only find non-NA values. We should fix that to be able to find agents which have a variable equal to NA.

SarahBauduin commented 3 years ago

Done https://github.com/PredictiveEcology/NetLogoR/commit/f9ac253c6c150f6e751e6137ee48e10d1c857d61 Need to be included in the next package update

achubaty commented 3 years ago

TODO:

achubaty commented 3 years ago

tests updated & fixed in f88110dcbb7fae341a872647c674f8913c5c2b1f