Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

overlap

see create_geo_objects

cluster_coords

see create_geo_objects

Value

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

Author(s)

Albert Y. Kim

See Also


SpatialEpi

Methods and Data for Spatial Epidemiology

v1.2.3
GPL-2
Authors
Cici Chen [ctb], Albert Y. Kim [aut, cre], Michelle Ross [ctb], Jon Wakefield [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.