Learn R Programming

SpatialEpi (version 1.2.3)

return_local_moves: Return all possible local moves: growth, trim, recenter

Description

Given a current configuration theta of size k single zones, return all configurations where we either grow, trim, or recenter one of the k single zones.

Usage

return_local_moves(theta, overlap, cluster_coords)

Arguments

theta

current configuration

cluster_coords

Value

list of 3 NumericMatrix, corresponding to each of the possible moves (k rows, each possible move being a column)

See Also

return_death_moves, return_birth_moves