create.quadrats: Create quadrats

Description Usage Arguments Value Author(s)

Description

Creat a grid where all trees are allocated to a given quadrat of size (= grid size).

Usage

1
create.quadrats(census, grid_size, x = "gx", y = "gy")

Arguments

census

a data.frame where trees have relative X-Y coordinates.

grid_size

the size of the grid (in meter)

x

the identifier of X coordinates (i.e. 'gx')

y

the identifier of Y coordinates (i.e. 'gy')

Value

add three columns to the data.frame: quadrat's number, centroids X and Y.

Author(s)

Ervan Rutishauser (ervan.rutishauser@infoflora.ch)


ervanSTRI/AGBflux_pack documentation built on Oct. 15, 2021, 6:44 p.m.