Description Usage Arguments Value Examples
Cleans output from GStar or Irid. Cleaning is user-defined and based on either hdop or 2d/3d fix status. Outputs three results in list format: Cleaned Data, "Bad" data and a report. Data is also cleaned if the 'dist' (from as.ltraj) is greater than the 98 percentile.
1 2 |
data |
SpatialPointsDataFrame as outputed from GStar or Irid. May work with others that are in UTM 12N. |
fixstat |
name of 2d/3d fix column. Defaults to 'X2D.3D' |
hdopC |
name of HDOP column. Defaults to 'HDOP' |
cval |
Cutoff for 2d/3d fix status. Valid values are 2 or 3. 3 will only use 3d fixes while 2 uses 2 and 3. |
hval |
Cutoff for hdop quantile cutoff. Default is 10 which is equalt to 90th quantile. |
filename |
Full path to store cleaning report file. |
type |
Character vector of data type, either: 'gstar' or 'irid' |
spp |
Character vector of species name (eg. 'Deer') |
Resulting object is a list of three elements. First element is a SpatialPointsDataFrame of all the GPS data which met the cleaning critera, the second element is all the "bad" data cleaned by set parameters and a report of what data was cleaned and for what reason.
Accessing the "good" spatial data is done by cleanFun()[[1]] Accessing the "bad" spatial data is done by cleanFun()[[1]] Accessing the cleaning report is done by cleanFun()[[1]]
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.