Internal function to rotate a single point

Rotates a set of points around a center point a given number of radians

1 | ```
rotateV(x2, y2, x0, y0, ang)
``` |

`x2` |
Vector containing x coordinates being rotated |

`y2` |
Vector containing y coordinates being rotated |

`x0` |
x coordinate of center of rotation |

`y0` |
y coordinate of center of rotation |

`ang` |
Angle of rotation given in radians |

set of rotated points

JP Bida

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.