Learn R Programming

MetaLandSim (version 0.2)

summary_metapopulation: Summarize 'metapopulation' class objects

Description

This function summarizes a metapopulation class object.

Usage

summary_metapopulation(object)

Arguments

object
Object of class metapopulation

Value

  • Returns a data frame with the following information on a metapopulation class object:
  • landscape area (hectares)Landscape mosaic area, in hectares
  • number of patchesNumber of patches in the landscape
  • mean patch area (hectares)Mean patch area, in hectares
  • SD patch areaSD of the patch area
  • mean distance amongst patches (meters)Mean inter-patch distance, in meters
  • minimum distance amongst patches (meters)Minimum inter-patch distance, in meters
  • species occurrence - snapshotOccupation data of the focal species, numbered from 1 to the number of snapshots

Details

This function can be used to retrieve basic information on the objects of class 'metapopulation'.

See Also

species.graph, metapopulation, matrix.graph

Examples

Run this code
data(occ.landscape)
data(occ.landscape2)

summary_metapopulation(object=occ.landscape)

#                                            Value
#landscape area (hectares)                 100.000
#number of patches                          60.000
#mean patch area (hectares)                  0.061
#SD patch area                               0.041
#mean distance amongst patches (meters)    528.345
#minimum distance amongst patches (meters)  51.780
#species occurrence - snapshot 1            50.000


summary_metapopulation(object=occ.landscape2)

#                                            Value
#landscape area (hectares)                 100.000
#number of patches                          60.000
#mean patch area (hectares)                  0.069
#SD patch area                               0.039
#mean distance amongst patches (meters)    521.717
#minimum distance amongst patches (meters)  45.905
#species occurrence - snapshot 1            50.000
#species occurrence - snapshot 2            58.333
#species occurrence - snapshot 3            61.667
#species occurrence - snapshot 4            61.667
#species occurrence - snapshot 5            58.333
#species occurrence - snapshot 6            60.000
#species occurrence - snapshot 7            70.000
#species occurrence - snapshot 8            68.333
#species occurrence - snapshot 9            68.333
#species occurrence - snapshot 10           56.667

Run the code above in your browser using DataLab