expandingList: Utility function for creating and adding to a list that...

Description Usage Arguments

View source: R/utility.R

Description

Utility function for creating and adding to a list that dynamically resizes itself as items are added. This should hopefully make the storage of results as the simulation is running more efficient.

Usage

1
expandingList(capacity = 10)

Arguments

capacity

Starting size of the initial list. Everytime capacity is reached the list is doubled in size.


rdinnager/nichefillr documentation built on March 19, 2018, 7:02 a.m.