tc {sweetnR}R Documentation

Constructs a vector, ignoring an empty last argument

Description

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

Usage

  tc(...)

Arguments

...

objects, possibly named.

Value

A vector.

See Also

tc, c

Examples

tc()
tc(1L, 2L, 3)
tc(a=1, 2, c=3, )

[Package sweetnR version 0.0-2 Index]