View source: R/construct_transform_coordinates.R
transform_df_coords | R Documentation |
Given dataframe, column names of coordinates, and a transformation matrix, return dataframe with transformed coordinates.
transform_df_coords(df, ..., m = diag(length(df)))
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. |
Dataframe with transformed coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.