Community Drift
Community Drift
A community_spcmodel. At each generation, each individual is replaced by one of its neighbors.
SimComm::community_model -> SimComm::community_spcmodel -> cp_drift
n_neighborsThe number of nearest neighbors to take into account.
Inherited methods
SimComm::community_model$along_time()SimComm::community_model$autoplot()SimComm::community_model$run()SimComm::community_model$saved_pattern()SimComm::community_spcmodel$neighbor_types_r()SimComm::community_spcmodel$neighbors_n()SimComm::community_spcmodel$neighbors_r()SimComm::community_spcmodel$plot()
new()Create a new object.
cp_drift$new(
pattern = SpatDiv::rSpCommunity(n = 1, size = 100, CheckArguments = FALSE),
timeline = 0,
type = "Species",
n_neighbors = 6
)