lapply.subset | R Documentation |
Executes .FUN on the specified varnames in X and return the results as a list.
lapply.subset(X, indices, .FUN, ...)
X |
a vector (atomic or list) or an expression object. Other objects (including classed objects) will be coerced by base::as.list. |
indices |
indices, either numeric or names, of elements in X for which to apply .FUN, or NULL to apply to all elements of X |
.FUN |
function |
... |
optional arguments to .FUN. |
results of .FUN applied to X as a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.