kch: Extract Metapop KCH

Description Usage Arguments Value Examples

Description

Extract KCH time series for each RAMAS Metapop population.

Usage

1
kch(meta, path)

Arguments

meta

The R object holding Metapop metadata returned by meta.

path

A character string giving the full path to the directory containing .kch files referred to in object meta.

Value

A matrix containing one column per population, giving the carrying capacity at each time step (i.e. each row).

Examples

1
2
mp <- system.file('example.mp', package='mptools')
k <- kch(meta=meta(mp), path=dirname(mp))

mptools documentation built on May 2, 2019, 6:54 a.m.