Description Usage Arguments Value Author(s) References See Also Examples
For the LISPstalgics.
1 2 3 4 |
a |
first object to |
b |
second object to |
x |
|
cons
returns a functions that takes another function as an argument.
car
, cdr
and cadr
return the objects initially cons
ed.
Antoine Filipovic Pierucci
SICP.
list
.
1 2 3 | a <- cons(rnorm(10), data.frame(a = 1:5, b = 6:10))
car(a)
cdr(a)
|
[1] -0.49934808 -1.89100780 0.09473402 0.12910010 0.77717785 1.37506196
[7] -0.30162548 0.03677105 -1.06662469 -0.81817875
a b
1 1 6
2 2 7
3 3 8
4 4 9
5 5 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.