add_nulls: Add 'NULL' values to non-existent list elements

Description Usage Arguments Value Author(s)

View source: R/add_nulls.R

Description

Add NULL values to non-existent list elements

Usage

1
add_nulls(param_list, desired_params)

Arguments

param_list

A list in which the names correspond to parameter names and the values correspond to the values to be passed.

desired_params

A character vector of desired list elements.

Value

A list with the desired elements as described by the desired_params argument. Any values that were missing in param_list will be returned with values of NULL.

Author(s)

Sean C. Anderson


ss3sim documentation built on Nov. 9, 2019, 1:06 a.m.