vital: Set Up a Vital Rates Function With Parameters

Description Usage Arguments

Description

Takes a function and an arbitrary collection of other parameters that are used in that function, and packages the other parameters into the environment of the function.

Usage

1
vital(fun, ...)

Arguments

fun

The function, whose first argument is N, a matrix of genotype counts.

...

Other variables used by fun.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.