Description Usage Arguments Value See Also Examples
mlapply
returns a list of the same length as each of the lists in lol
.
Each element of the resulting list is the result of applying FUN
to all the first elements of the lists in lol, all the second elements
of the lists in lol ...
It is the multivariate version of lapply
1 |
lol |
a list of lists, the elements of each list will be used as arguments to calls to |
FUN |
the function to be applied. In the case of
functions like |
... |
Any additional arguments passed to each call to |
FUN
is a function with the number of arguments being equal
to the number of lists contained in lol
.
mlapply
makes a function call to FUN
for all
the first elements of all the lists in lol
,
then a function call to all the second elements of all the lists in lol
,
and retunrs all the results as a list.
If the first list in lol
has named elements,
the names will also be used for the elements of the resulting list.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.