getNewVal: Get new Value for each cell

Description Usage Arguments Value

View source: R/getNewVal.R

Description

Determines the color of each cell from its neighbors

Usage

1
getNewVal(rast, neigh, nclr = 3)

Arguments

rast

the raster being inspected

neigh

results of getNeigh()

nclr

number of colors used in simulation

Value

a vector of color integers representing colors


beemyfriend/RPSimulator documentation built on March 9, 2020, 12:13 a.m.