Jitter longitude and latitude variables
Arguments
- dat
Main data frame over which to apply function. Table in FishSET database should contain the string `MainDataTable`.
- project
Project name.
- lon
String, variable name containing longitude.
- lat
String, variable name containing latitude.
- factor
Numeric, see
jitter
for details.- amount
Numeric, see
jitter
for details. Default (NULL): factor * d/5 where d is about the smallest difference between x values.
Details
This is one of the FishSET confidentiality functions. It "jitters"
longitude and latitude using the base R function jitter
.