reduce_ic_list: Reduce list of initial conditions to include only pars with...

Description Usage Arguments Value Examples

Description

This can be used to clean the output, such that the condition description is not as long anymore.

Usage

1
reduce_ic_list(ic_list)

Arguments

ic_list

list of initial conditions

Value

list(ic_list, modified pars)

Examples

1
2
3
4
pars <- c(a=5,b=1)
ic_list <- c(a=1,b=1:2)
pars[names(reduce_ic_list(ic_list)[[2]])] <- reduce_ic_list(ic_list)[[2]]
ic_list <- reduce_ic_list(ic_list)[[1]]

dlill/MRAr documentation built on May 16, 2019, 7:24 a.m.