make_grid: Generate landscape grid

Description Usage Arguments Value

View source: R/fn_aux.R

Description

Create rectangular landscape grid with x and y coordinates, inbound indicator, and land cover composition

Usage

1
make_grid(in.file, x. = "lon", y. = "lat", col.inc, out.file = NULL)

Arguments

in.file

File (.csv) containing land cover composition and coordinates

col.inc

Indexes of land cover (or other covariate) columns

out.file

NULL File to store gridded output

lon

"lon" Column name containing x (longitude) coordinates

lat

"lat" Column name containing x (latitude) coordinates

Value

Dataframe with length(x)*length(y) rows and columns x, y, x_y, inbd and land cover or covariates


Sz-Tim/gbPopMod documentation built on Dec. 7, 2020, 1:07 p.m.