argos.sigma | R Documentation |
Assign numeric values for Argos "class" by matching the levels available to given numbers. An adjustment is made to allow sigma to be specified in kilometres, and the values returned are the approximate values for longlat degrees. It is assumed that the levels are part of an "ordered" factor from least precise to most precise.
argos.sigma(x, sigma = c(100, 80, 50, 20, 10, 4, 2), adjust = 111.12)
x |
factor of Argos location quality "classes" |
sigma |
numeric values (by default in kilometres) |
adjust |
a numeric adjustment to convert from kms to degrees |
The available levels in Argos are levels=c("Z", "B", "A", "0", "1",
"2", "3")
.
The actual sigma values given by default are (as far as can be determined) a reasonable stab at what Argos believes.
Numeric values for given levels.
cls <- ordered(sample(c("Z", "B", "A", "0", "1", "2", "3"), 30,
replace=TRUE),
levels=c("Z", "B", "A", "0", "1", "2", "3"))
argos.sigma(cls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.