| is.sampbias | R Documentation | 
Check class of sampbias objects.
## S3 method for class 'sampbias'
is(object, class2 = "sampbias")
object | 
 an object of the class   | 
class2 | 
 the names of the class to which is relations are to be examined defined, or (more efficiently) the class definition objects for the classes.  | 
With two arguments, tests whether object can be treated as from class2. With one argument, returns all the super-classes of this object's class.
The function returns a logical indicating whether the object is a
is of the class 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)
  is(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.