View source: R/plot.sampbias.R
| plot.sampbias | R Documentation | 
Plotting method for class sampbias, generating a box-whiskers-plot
showing the bias weights for all biasing factors
indicating the effect strength for each gazetteer provided to
calculate_bias.
## S3 method for class 'sampbias'
plot(x, ...)
x | 
 an object of the class   | 
... | 
 Additional arguments passed to summary.  | 
A plot
calculate_bias, summary.sampbias
  #simulate data
  occ <- data.frame(species = rep(sample(x = LETTERS, size = 5), times = 10),
                   decimalLongitude = runif(n = 50, min = 12, max = 20),
                   decimalLatitude = runif(n = 50, min = -4, max = 4))
  out <- calculate_bias(x = occ, terrestrial = TRUE)
  summary(out)
  plot(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.