Description Usage Arguments Details Value Examples
Bind return values from a function to local variables by combining the bind
function with the %<-%
operator. When a function returns an object that is
a vector or list you will normally have to index into that result to get individual
components.
1 |
... |
List of variables to bind. |
Using bind
you can values in a vector or list to local variables, so
bind(x, y, z) %<-% 1:3
binds a
, b
, and c
to values 1, 2, and 3, respectively.
An object containing the variable to be bound. This should be used
in combination with the %<-%
operator to bind values to
parameters.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.