Description Usage Value References See Also Examples
Open parenthesis, (
, and open brace, {
, are
.Primitive
functions in R.
Effectively, (
is semantically equivalent to the identity
function(x) x
, whereas {
is slightly more interesting,
see examples.
1 2 3 | ( \dots )
{ \dots }
|
For (
, the result of evaluating the argument. This has
visibility set, so will auto-print if used at top-level.
For {
, the result of the last expression evaluated. This has
the visibility of the last evaluation.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
if
, return
, etc for other objects used in
the R language itself.
Syntax
for operator precedence.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.