tlist {sweetnR}R Documentation

Constructs a list, ignoring an empty last argument

Description

This function is a list constructor that tolerates a comma after the last list element. Helps constructing lists where more and more elements are appended with time: No need to think about a terminal comma anymore, just like in Python, C++, ...

Usage

  tlist(...)

Arguments

...

objects, possibly named.

Value

A list.

See Also

tc, list

Examples

tlist()
tlist(1, 2, 3)
tlist(a=1, 2, c=3, )

[Package sweetnR version 0.0-2 Index]