is_population: Tests if an object is belonging the class 'population'.

Description Usage Arguments Value Author(s) Examples

View source: R/is_population.R

Description

The function determinines if the object is a population or not

Usage

1

Arguments

x

the object which must be a population to validate the condition

Value

a logical "TRUE" or "FALSE"

Author(s)

Cresciense Lecaude

Examples

1
2
3
  p <- population('example', 2, 0.5, 10)
  is_population(p) # Returns TRUE
  is_population(4) # Returns FALSE

BEE-Univ-Grenoble/BeePODYNA documentation built on Dec. 25, 2019, 4:49 a.m.