transform_coords: Transforms a set of population unit coordinates to an integer...

Description Usage Arguments Value

View source: R/subsample.R

Description

Note that input coordinates must be spatially aligned vertically and horizontally. This may not always be the case, e.g. for some spatial projections that curve geographic space.

Usage

1
transform_coords(coords, d_x = NA, d_y = NA)

Arguments

coords

A dataframe of x,y coordinates of population unit locations.

d_x

The distance between points in the x dimension

d_y

The distance between points in the y dimension

Value

A dataframe with two columns, r and c, that correspond to row and column indices


brycefrank/spsys documentation built on Aug. 1, 2020, 12:21 a.m.