EVOLUTION-MANAGER
Edit File: list.stack.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: Stack all list elements to tabular data</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.stack {rlist}"><tr><td>list.stack {rlist}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Stack all list elements to tabular data</h2> <h3>Description</h3> <p>Stack all list elements to tabular data </p> <h3>Usage</h3> <pre> list.stack(.data, ..., data.table = FALSE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>.data</code></td> <td> <p><code>list</code> of <code>vector</code>s, <code>list</code>s, <code>data.frame</code>s or <code>data.table</code>s.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>additional parameters passed to <code>data.table::rbindlist</code>.</p> </td></tr> <tr valign="top"><td><code>data.table</code></td> <td> <p><code>TRUE</code> to keep the result as <code>data.table</code></p> </td></tr> </table> <h3>Examples</h3> <pre> ## Not run: x <- lapply(1:3, function(i) { list(a=i,b=i^2) }) list.stack(x) x <- lapply(1:3, function(i) { list(a=i,b=i^2,c=letters[i])}) list.stack(x) x <- lapply(1:3, function(i) { data.frame(a=i,b=i^2,c=letters[i]) }) list.stack(x) x <- lapply(1:3, function(i) { data.frame(a=c(i,i+1), b=c(i^2,i^2+1))}) list.stack(x) ## 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>