make_headland: Function to make the field headland.

Description Usage Arguments Examples

View source: R/trial_geom.R

Description

This function creates a constant buffer around the field boundary. FOr more complex types of headland, it is suggested to use graphical tools such as QGIS

Usage

1
make_headland(field, width1, width2 = 0, angle = pi/2, inv = FALSE)

Arguments

field

the field boundary of class 'sf'

pols

the trial design polygons of class 'sf'

width

the size of the headland

Examples

1
2
plot(make_headland(fields[4, ], 10, 30))
plot(make_headland(fields[4, ], 10, 30, pi))

RodrigoAgronomia/PAR documentation built on Jan. 19, 2020, 8:51 p.m.