exchange_xy_for_marks | R Documentation |
x
and y
coords for others stored as marksUtility function that allows the x
and/or y
coords
of a PPP object to be swapped with another set of coords stored as marks.
The previous x
and y
coords are stored in the marks under
names orig_x
and orig_y
respectively.
exchange_xy_for_marks(points, x_name = "x", y_name = "y")
points |
ppp object containing marks |
x_name |
name of the marks column to be used as the new |
y_name |
name of the marks column to be used as the new |
ppp
where x and y coords have been exchanged for those
those specified as marks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.