Learn R Programming

sampbias (version 2.0.0)

summary.sampbias: Summary Method for Class sampbias

Description

Summary method for objects of the class sampbias.

Usage

# S3 method for sampbias
summary(object, ...)

Value

Summary printed to screen.

Arguments

object

An object of the class sampbias

...

Additional arguments passed to summary.

See Also

calculate_bias is.sampbias plot.sampbias

Examples

Run this code

# \donttest{
  #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)
# }

Run the code above in your browser using DataLab