tr_rt: Rotate then translate a 2D object

View source: R/utils_geometry.R

tr_rtR Documentation

Rotate then translate a 2D object

Description

Rotate then translate a 2D object

Usage

tr_rt(data, x0, y0, a, index = NULL)

Arguments

data

dataframe with x and y coordinates, and id columns

x0, y0

shift in x and y axis (units)

a

rotation angle (radian)

index

string for the index column to be added from the original data

Value

a dataframe with new coordinates columns


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.