c: Concatenation

Description Usage Arguments Details Value Note Author(s) Examples

Description

Combines its arguments to form a single onion.

Usage

1
2
3
c_onionpair(x,y)
## S4 method for signature 'onion'
c(x,...)

Arguments

x,y,...

onions

Details

Returns an onion of the same type as its arguments. Names are inherited from the behaviour of cbind(), not c().

Value

An onion

Note

The method is not perfect; it will not, for example, coerce its arguments to the biggest() type, so c(rquat(),roct()) will fail. You will have to coerce the arguments by hand.

Dispatch is based on the class of the first argument, so c(1,rquat()) will return a list (not an onion), and c(rquat(),1) will fail.

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
5
a <- roct(3)
b <- seq_onion(from=Oil,to=Oj,len=6)
c(a,b)

c(rquat(3),H1,H0,Him)

onion documentation built on Feb. 11, 2021, 9:06 a.m.