Learn R Programming

IxPopDyMod (version 0.3.0)

parameters: Create a set of parameters

Description

Create a set of parameters

Usage

parameters(...)

Value

a parameters object

Arguments

...

A set of named numeric vectors, each corresponding to a parameter. If a parameter is of length > 1, each element must be named.

Examples

Run this code
# create a set of scalar parameters
parameters(a = 1, b = 2)

# parameters of length > 1 may be useful for host-related parameters that
# differ between host species, for example tick feeding success
parameters(a = 1, feeding_success = c(deer = 0.49, squirrel = 0.17))

Run the code above in your browser using DataLab