EVOLUTION-MANAGER
Edit File: list.maps.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: Map multiple lists with an expression</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.maps {rlist}"><tr><td>list.maps {rlist}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Map multiple lists with an expression</h2> <h3>Description</h3> <p>Map multiple lists with an expression </p> <h3>Usage</h3> <pre> list.maps(expr, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>expr</code></td> <td> <p>An implicit lambda expression where only <code>.i</code> and <code>.name</code> are defined.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Named arguments of lists with equal length. The names of the lists are available as symbols that represent the element for each list.</p> </td></tr> </table> <h3>Examples</h3> <pre> ## Not run: l1 <- list(p1=list(x=1,y=2), p2=list(x=3,y=4), p3=list(x=1,y=3)) l2 <- list(2,3,5) list.maps(a$x*b+a$y,a=l1,b=l2) list.maps(..1$x*..2+..1$y,l1,l2) ## End(Not run) </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>