Description Usage Arguments Details Value See Also Examples
Create a new record by concatenating values together.
1 2  | 
... | 
 values to concatenate.  | 
The c.record function converts its non-NULL arguments
to records with as.record, then forms a new record by concatenating
the records together.
Named arguments get their field names qualified with the specified argument
name, separated by a period (.).
Calling the c generic function with a record as the first argument
will dispatch to c.record. We export the c.record function
explicitly to enable control over the dispatch with arbitrary argument types.
A record gotten by concatenating the non-NULL argument fields together,
or NULL if no arguments are nonNULL.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | x <- record(a = 1, b = "two")
y <- 3
z <- list(d = FALSE)
# record as first argument
c.record(x, y, z) # explicit dispatch
c(x, y, z)        # implicit dispatch (same result)
# non-record as first argument
c.record(z, y, x) # explicit dispatch
c(z, y, x)        # implicit dispatch (different result)
# named arguments
c.record(xx = x, yy = y, zz = z)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.