Description Usage Arguments Value Author(s) Examples
View source: R/as_population.R
The fonction 'as_population'
takes as argument a list
containing the population caracteristics (population,
number at initial time, growth rates.
And check if is a class population and return a list duable by BeePODYNA
package
1 2 3 4 5 6 7 8 9 10 | as_population(object)
## Default S3 method:
as_population(object)
## S3 method for class 'population'
as_population(object)
## S3 method for class 'list'
as_population(object)
|
object |
a list of populations objects (information on the population) |
If 'object'
is a list, the function will test if it match with the
the requirements of a class 'population'
object.
If 'object'
is not a list an error message will be give.
Martial <leroy.martial@etu.univ-grenoble-alpes.fr>
1 2 | obj = list(label ="pop.test",size= 100,growth_rate = 0.1,capacity = 500)
as_population(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.