Assign values to names in an environment.
A vector or list of names, represented by strings.
a vector or list of values to be assigned.
should the enclosing frames of the environment be inspected?
pos argument can specify the environment in which to assign
the object in any of several ways:
as an integer (the position in the
search list); as
the character string name of an element in the search list; or as an
environment (including using
access the currently active function calls).
envir argument is an alternative way to specify an
environment, but is primarily there for back compatibility.
value is missing and
x has names then the values in
each element of
x are assigned to the names of
This function is invoked for its side effect, which is assigning
values to the variables in
x. If no
specified, then the assignment takes place in the currently active
TRUE, enclosing environments of the supplied
environment are searched until the variable
x is encountered.
The value is then assigned in the environment in which the variable is
encountered. If the symbol is not encountered then assignment takes
place in the user's workspace (the global environment).
FALSE, assignment takes place in the
initial frame of
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.