Reflects shapes about the x- or the y- axis

coo_reflect_x(x, from_col, to_col, ...)

coo_reflect_y(x, from_col, to_col, ...)

Arguments

x

coo_single, coo_list or mom_tbl

from_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

to_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

...

useless here

Value

a coo_single, coo_list or mom_tbl

Functions

  • coo_reflect_x: reflects about the x-axis

  • coo_reflect_y: reflects about the y-axis

See also

Examples

bot %>% pick(1) %>% coo_reflect_x() %>% gg()
bot %>% pick(1) %>% coo_reflect_y() %>% gg()