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

clean_moves_matrix

Clean up proposed moves matrix


Description

Cleans up proposed move matrix

Usage

clean_moves_matrix(theta, moves, n_zones)

Arguments

theta

original configuration

moves

proposed moves

n_zones

total number of single zones in region

Value

A matrix with kstar rows, and each column being a proposed configuration, with the component single zone indices being sorted (i.e. each column).

Author(s)

Albert Y. Kim


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.