aReal: Areal interpolation

Description Usage Arguments Details Value References Examples

Description

aReal uses areal interpolation to project a set of source values on to a set of target observations.

Usage

1
2
3
aReal(src, trg, vals)

tWy(W, y)

Arguments

src

A SpatialPolygonsDataFrame from which to project.

trg

A target geography on which to project values.

vals

A vector containing the names of the columns in the data slot of the src object to be used as source values.

Details

Using the method proposed by Markoff and Shapiro (1973), aReal projects source values on to a target geography. Source values are assumed to be counts.

Value

A data.frame containing the projected values along with polygon IDs drawn from trg, along with information on the structure of the common geographies within which values were interpolated.

References

Markoff, J. and Shapiro, G. 1973. "The Linkage of Data Describing Overlapping Geographical Units." Historical Methods Newsletter 7: 34–46.

Examples

1
2
3
#load list containing partitions
#data(nd_list)
#aReal(nd_list[[1]], nd_list[[2]], nd_list[[1]]$wheat)

aslez/aiR documentation built on May 12, 2019, 5:38 a.m.