plot.sampbias: Plotting the Posterior Estimates of the Bias Weights

View source: R/plot.sampbias.R

plot.sampbiasR Documentation

Plotting the Posterior Estimates of the Bias Weights

Description

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.

Usage

## S3 method for class 'sampbias'
plot(x, ...)

Arguments

x

an object of the class sampbias.

...

Additional arguments passed to summary.

Value

A plot

See Also

calculate_bias, summary.sampbias

Examples

## Not run: 
  #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)

## End(Not run)


azizka/sampbias documentation built on Feb. 1, 2024, 7:51 p.m.