powered by
Translate object
coord_translate(coords, x = 0, y = 0, z = 0)
data.frame of transformed coordinates
data.frame with 'x', 'y' and 'z' coordinates
amount to translate along each axis. Default: 0
gen_sphere() |> coord_translate(x = 20, z = 40) |> isocubesGrob(size = 2) |> grid::grid.draw()
Run the code above in your browser using DataLab