summary.population: Populations summaries and trends #' @author Julia Guerra...

Description Usage Arguments Value Examples

View source: R/summary_population.R

Description

This function will allow the user to easily read trends and characteristics (label, population size(s), growth rate(s)...) of a population-class object.

Usage

1
2
3
## S3 method for class 'population'
summary(object, ...,
  d.print = as.numeric(getOption("digits")))

Arguments

object

an object of class "population"

...

not implemented yet

d.print

the number of decimal digits to be printed in statistics

Value

A list containing calculated summaries for a population. See 'examples'.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  # Default usage
  pop1 = population("mypop", 1, 0.8, 500)
  summary(pop1)

  # long history populations
  data(hudson)
  pop1 = hudson$hare
  sumrs1 = summary(pop1)   #for saving summaries list

  sumrs1$Rates_of_change        # taking a look into last growth tendencies

  # In case you want to modify digits printing settings

  summary(pop1,11)
  summary(pop1,getOption("digits")+2)

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