c | R Documentation |
Combines its arguments to form a single onion.
c_onionpair(x,y)
## S4 method for signature 'onion'
c(x,...)
x , y , ... |
onions |
Returns an onion of the same type as its arguments. Names are
inherited from the behaviour of cbind()
, not c()
.
An onion
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.
Robin K. S. Hankin
a <- roct(3)
b <- seq_onion(from=Oil,to=Oj,len=6)
c(a,b)
c(rquat(3),H1,H0,Him)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.