popmat: Populate a Spatial Matrix with Aggregated Values

Description Usage Arguments Value

View source: R/bayes_utils.R

Description

Once a square spatial matrix has been created using normalized coordinates, we must populate it with values of interest.

Usage

1
popmat(xf, yf, z, m)

Arguments

xf

factor vector of x coordinate

yf

factor vector of y coordinate

z

numeric vector of aggregated measure

m

matrix with levels(xf) by levels(yf) dimensions

Value

m spatial matrix


tbonza/supml documentation built on May 17, 2019, 3:14 a.m.