Project or reproject coordinates of a LoCoH-xy object

1 2 | ```
lxy.reproject(lxy, proj, dt.int.round.to = 0.1, tau.diff.max = 0.02,
status = TRUE)
``` |

`lxy` |
A LoCoH-xy object |

`proj` |
Projection object of class |

`dt.int.round.to` |
The proportion of the median sampling frequency that time intervals will be rounded to when computing the frequency table of sampling intervals (no change is made to the time stamps) |

`tau.diff.max` |
The maximum deviation from tau (expressed as a proportion of tau) that a point-to-point time difference must fall within for the point-to-point distance to be included in the calculation of the median step length |

`status` |
Show status messages (T/F) |

This function will reproject the locations to a new coordinate system. In order for this to work,

The coordinate system of the current locations must be recorded. To see the current coordinate system, run

`summary.locoh.lxy`

. To add projection information (which you need to get from the source of the data), use`lxy.proj.add`

.Argument

`proj4string`

which is an object of class`CRS-class`

containing information about the new projection system. A good place to find the proj4 strings for a projection system is http://www.spatialreference.org.

Note that not all coordinate systems can be projected into all other coordinate systems.
If you get an error message like *'non finite transformation detected'*, the coordinate system
you are trying to project into may not be compatible with the existing coordinate system.

`lxy.proj.add`

, `summary.locoh.lxy`

, `CRS`

1 2 3 4 | ```
## Not run:
lxy.utm <- lxy.reproject(lxy, CRS("+proj=utm +north +zone=18 +ellps=WGS84"))
## End(Not run)
``` |

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

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