add_wh | R Documentation |
Adds image dimensions width and height as variables to a data.frame of x and y corodiantes or vice versa.
add_wh(df, hrange = NULL)
add_xy(df, x = "x", y = "y")
df |
A data.frame that contains at least the two numeric variables x and y or width and height. |
Input data.frame with two additional variables named width and height or x and y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.