st_rotate: Function to rotate a polygon by a given angle:

Description Usage Arguments Examples

View source: R/trial_geom.R

Description

This take in any features of class 'sf' and returns the rotate version of the geometries:

Usage

1
st_rotate(obj, a)

Arguments

obj

feature of class 'sf'

a

angle (radians)

Examples

1
st_rotate(fields[1, ], pi / 2)

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