transform_df_coords: Transform coordinates

Description Usage Arguments Value

View source: R/construct_transform_coordinates.R

Description

Given dataframe, column names of coordinates, and a transformation matrix, return dataframe with transformed coordinates.

Usage

1

Arguments

df

Dataframe with coordinates.

...

Column names where coordinates are (Will be treated as x, y, ...). Column names not supplied will be unchanged.

m

Matrix transformation to apply.

Value

Dataframe with transformed coordinates.


brshallo/animatrixr documentation built on Dec. 18, 2020, 12:30 a.m.