EVOLUTION-MANAGER
Edit File: list.do.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Call a function with a list of arguments</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for list.do {rlist}"><tr><td>list.do {rlist}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Call a function with a list of arguments</h2> <h3>Description</h3> <p>Call a function with a list of arguments </p> <h3>Usage</h3> <pre> list.do(.data, fun, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>.data</code></td> <td> <p><code>list</code>. <code>vector</code> will be coreced to <code>list</code> before being passed to <code>fun</code>.</p> </td></tr> <tr valign="top"><td><code>fun</code></td> <td> <p>The <code>function</code> to call</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>The additional parameters passed to <code>do.call</code></p> </td></tr> </table> <h3>Examples</h3> <pre> x <- lapply(1:3, function(i) { c(a=i,b=i^2)}) df <- lapply(1:3, function(i) { data.frame(a=i,b=i^2,c=letters[i])}) list.do(x, rbind) </pre> <hr /><div style="text-align: center;">[Package <em>rlist</em> version 0.4.6.2 <a href="00Index.html">Index</a>]</div> </body></html>