Closed schellheinz closed 5 years ago
Hi and sorry for the delayed response.
I checked the code example and discovered the problem. After adding the simdesign, if you check the siminput tibble in your nl object (nl@simdesign@siminput
) you will see that there are a lot of NAs in the tibble. This is due to the eFAST algorithm. The number of samples depends on the number of variables. If the number of samples is too low, NA values are created. Thus, to solve your problem you just have to increase the number of samples of your simdesign (for the example above 65 samples seem to be the minimum number of samples).
However, I agree that this should be printed on the interface. We will probably add a warning when NAs are created by simdesigns.
Hello,
I want to use an sensitivity analysis on the model I build in NetLogo but I always get the following error message in R:
This even happens with your example of the wolf-sheep model:
I dont really know about programming so maybe the solution to this is very trivial but I would be very thankful for your help!