Description Usage Arguments Value Author(s) See Also Examples
Given two lists elemets (by name) missing from the first are copied from the second list (if present). Is used to create default lists, ensuring that all elements expected in the list are present with reasonable values (if not user specified).
1 | defaultList(x, prototype = list())
|
x |
A list |
prototype |
A list with named elements, any elements missing from
|
Updated version of x
Johan Lindstrom
Other utility functions: convertCharToDate
1 | defaultList(list(a=1,b=4), list(a=3,c="a",d=4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.