Known issues: https://github.com/PredictiveEcology/NetLogoR/issues
NetLogoR
will still work with R 3.6, but we no longer support it.car
, Hmisc
, plyr
?sample
) when the length of the argument x
is 1. This occurred under some (but now all) conditions where there are multiple agents with the same id
, along with some agents with only one member within an id
, and where the objective is to select one of the using oneOf
or nOf(agent, n = 1)
. Now we use resample
as defined in the examples of ?base::sample
.NLwith()
now handles NA
values (#36)sf
to Suggests, as it is used in tests.turtlesOn()
. Error when the world was not square.inRadius
now multiplies the width
by a tiny amount so that the function returns an inclusive result.quickPlot >= 0.1.1.9000
dependency.SpaDES
-related packages to only include the ones actually used.worldArray
to extract subset layers.show
methods for worldMatrix
and worldArray
, similar to RasterLayer
and RasterStack
.quickPlot::Plot
works, e.g., Plot(agentMatrixObj)
or Plot(worldMatrixObj)
or Plot(worldArrayObj)
, Plot(worldArrayObj$layer1)
. addTo
argument implemented for layering, Plot(worldMatrixObj); Plot(agentMatrixObj, addTo="worldMatrixObj")
will plot the agents on the map.3.2.5
to 3.3.0
as required by dependency RandomFieldsUtils
.